Skip to main content
Dec 30, 2016 9:02 PM UTC
Solved

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Dec 31, 2016 9:18 AM UTC

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!).

4 replies

SanfordWhiteman
User Group Leader
User Group Leader
Dec 31, 2016 1:10 AM UTC

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.

Translate
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Dec 31, 2016 9:18 AM UTC

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!).

Translate
Jan 1, 2017 5:32 PM UTC

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

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Jan 1, 2017 10:39 PM UTC

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

Translate