Removing existing values on form submit when field not selected | Community
Skip to main content
December 30, 2016
Solved

Removing existing values on form submit when field not selected

  • December 30, 2016
  • 2 replies
  • 3457 views

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.
Best answer by SanfordWhiteman

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

2 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
December 31, 2016

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

January 1, 2017

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
New Participant
January 1, 2017

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

SanfordWhiteman
New Participant
December 31, 2016

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.