Answers.Body: <p>If there is information that you don’t want people to override/edit - you probably want move to towards issuing Drupal User Accounts - so you can start creating forms that are serving purposes like Update My Profile, Update My Volunteer Shifts, Update My Conference Registration. When a user is logged in - Webform CiviCRM module can display current information stored for that contact and it’s immediately clear they are overriding/editing or adding.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-28T21:14:49.377Z
Answers.LastActivityDate: 2019-09-29T03:44:53.533Z
Answers.LastEditDate: 2019-09-29T03:44:53.533Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I have a webform that has a lot of custom fields.  These fields should probably have been set up as boolean but they weren't.  They each have one checkbox, which results in a "Y" being saved in the table.</p>
  
  <p>This works great for new entries, but if an anonymous user who has already submitted the form then goes and submits it again, maybe they decided they now also want to volunteer for X, all the things they selected the first time gets wiped out or really overwritten with a null unless they select all the same things again.  (The form is set to match existing contacts based upon first, last and email)</p>
  
  <p>Fields that aren't check boxes work this way.  If you leave the address or phone number blank it doesn't overwrite what's already there.</p>
  
  <p>So I'd like it to not save any check box the user didn't touch.</p>
  
Tags: <webform-civicrm>
Title: Is there a way with webforms when submitting a new entry to have it only save the stuff that was actually touched by the user?
ThreadText: # Is there a way with webforms when submitting a new entry to have it only save the stuff that was actually touched by the user?
  
  (Asked by: username_0 on 2019-09-27)
  
  I have a webform that has a lot of custom fields. These fields should probably have been set up as boolean but they weren't. They each have one checkbox, which results in a "Y" being saved in the table.
  
  This works great for new entries, but if an anonymous user who has already submitted the form then goes and submits it again, maybe they decided they now also want to volunteer for X, all the things they selected the first time gets wiped out or really overwritten with a null unless they select all the same things again. (The form is set to match existing contacts based upon first, last and email)
  
  Fields that aren't check boxes work this way. If you leave the address or phone number blank it doesn't overwrite what's already there.
  
  So I'd like it to not save any check box the user didn't touch.
  
  **Tags:** webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-09-28. Score: 3
  
  If there is information that you don’t want people to override/edit - you probably want move to towards issuing Drupal User Accounts - so you can start creating forms that are serving purposes like Update My Profile, Update My Volunteer Shifts, Update My Conference Registration. When a user is logged in - Webform CiviCRM module can display current information stored for that contact and it’s immediately clear they are overriding/editing or adding.
  
  
  ---
  
  