SOLVED

Re: Removing existing values on form submit when field not selected

Go to solution
Anonymous
Not applicable

Removing existing values on form submit when field not selected

We have a string field (Product Interest) that is populated via checkboxes (same issue with select). Here is the test page. The user can check one, many or none.  The problem is that if a user has a value in that field, and then returns to the form and unselects all options, the value in the database is not affected.  I think this requires javascript.  Has anyone solved this before?

Thanks,

Mike

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Removing existing values on form submit when field not selected

While I was waiting, I wrote up the answer in this new post: http://blog.teknkl.com/clearing-lead-fields-when-no-value-submitted/

Please move the thread (then mark as Correct!).

View solution in original post

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Removing existing values on form submit when field not selected

Mike, please move the question to Products​.  This space is for discussions of the Champs program itself, not support questions.

I have your answer ready but want to make sure stuff is organized first.

SanfordWhiteman
Level 10 - Community Moderator

Re: Removing existing values on form submit when field not selected

While I was waiting, I wrote up the answer in this new post: http://blog.teknkl.com/clearing-lead-fields-when-no-value-submitted/

Please move the thread (then mark as Correct!).

Anonymous
Not applicable

Re: Removing existing values on form submit when field not selected

Moved it to Products.  Thanks,

And thanks for taking the time to write it up - and to give different solutions to it!  So clearly presented too.

Mike

SanfordWhiteman
Level 10 - Community Moderator

Re: Removing existing values on form submit when field not selected

Great, keep asking the questions since it's good to have a backlink!