How to erase hidden field values?

  • Profile Image
    sjpd
    Asked on April 17, 2019 at 05:35 PM

    Our form has Yes No questions where, if yes is selected, additional hidden questions are revealed.  If a user fills out the subordinate fields with data, and then changes their mind and toggle the Yes No radio button back to "No", the subordinate fields become hidden again.  But now they retain their data.

    Question: Is there a was to initialize hidden field values when they toggle from hidden to shown and back to hidden again?

    If not, does this sound like a good feature request?  Maybe add a hidden button to the UI, that appears when "Hidden" is turned ON.  Then a second optional selector could say, "Initialize When Re-Hidden"

    Thanks,

    -Dave

     

  • Profile Image
    Jed_C
    Answered on April 17, 2019 at 07:22 PM

    You'll need to set "Clear hidden field values" to "Clear on being hidden" in your form settings.

    1555543301clear_on_hidden.png

    This will make sure that hidden fields won't retain its value. 

    I hope that helps. Let us know if you have any questions or if you need further assistance.  

  • Profile Image
    sjpd
    Answered on April 18, 2019 at 11:43 AM
    Perfect!
    Thank you.
    Dave Bartholomew
    ________________________________
    ...