What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Clear fields values and selections when hidden by conditions

    Asked by digiosolutions on May 27, 2014 at 08:30 AM

    This is super helpful and all. and I dont wanna sound like a douche, however my question was wider than this calculate field alone, hence the new thread here.

     

    Is there going to be an update for when (if ever) the option will be introduced to CLEAR all types of fields and selections upon them going to hide mode?

    clear values reset values conditional logic
  • Profile Image
    JotForm Support

    Answered by Welvin on May 27, 2014 at 10:37 AM

    Hi,

    I have created a request ticket to this thread and submitted it to our developers. I think this is the behaviour or the conditional logic before, but it has been remove due to multiple request from the other users.

    Maybe this time, to add an option to the form settings wether to reset the values/selections or not. Unfortunately, there's no timeframe for the implementation. It's all to our developers to decide wether to add this or not. We'll update you here if there are changes.

    Thanks

  • Profile Image

    Answered by digiosolutions on May 27, 2014 at 02:40 PM

    Thank you.

     

    I hope this gets added as a tiny checkmark option or something low key to avoid confusing anyone and also be able to make everyone happy including someone like me who critically ran into such a need on multiple forms in two years of being a user.

  • Profile Image

    Answered by digiosolutions on May 28, 2014 at 02:59 AM

    Could you please mark this as private please? Thanks

  • Profile Image

    Answered by digiosolutions on May 28, 2014 at 08:22 AM

    I was just gonna add:

     

    To avoid confusing users, this can be implemented as a completely new set of rules/conditions in the top menu of conditions, lets call it advanced conditions for this post:

     

    RULE if (field) is hidden/shown then

    (array of ACTION options including reset values)

    of (list or drop down of field names).

     

    hope this makes some sense.

  • Profile Image

    Answered by digiosolutions on May 29, 2014 at 09:48 AM

    So to confirm: Right now, if someone submits a form that has a change of mind in it, with some re-hidden fields with a bunch of inputs from user still in them, I will not get such information in the email submission that comes to me as the form owner? Is there an option for this or is this the default behavior?

    "Are you asking for the values to actually be cleared, so if you fill in data, hide the field, then RESHOW the field it is now empty and has lost the value that you entered?"

    Yes, precisely.

    https://&feature=youtu.be&hd=1

    Because right now, many sub-sub-show/hide conditions remain ugly and broken when higher options are changed, resulting in some fields going back to hide mode and yet some others oddly staying on the form with selections. so if the parent or higher field is changed or deselected, I want any dependent field that goes to hiding to clear out and cause any further dependent fields down the line to also clear and hide and not stick out oddly.

  • Profile Image
    JotForm Support

    Answered by KadeJM on May 29, 2014 at 12:13 PM

    Thank you for the updated information about this as well as the video. I started looking into it because I believe I understand now what you meant originally in regards to this issue. Currently, I am having a little bit of trouble testing this more from my end so I will update the thread with your provided clarification for our developer whom was helping you with this. I would like to also let you know that we will do what we can to look into this further and get back to you shortly. 

  • Profile Image

    Answered by digiosolutions on May 29, 2014 at 01:19 PM

    i am actually going to amend it one tiny bit if you do not mind:

     

    when hidden:

    I really would prefer this: instead of a form value being "cleared", why not reset to default. if default value is defined, then let it be, if default selection is defined then let that be, if no default selection, this action would equal clearing the selections and providing a clean slate. this owuld be optimal with regards to my request, as opposed to reset or clear function that may override "default" value which sometimes is needed to be filled for proper purposes of the form and fields.

     

    does this make any sense, maybe it can even make your work easier since there are such a thing as default value for majority of field types already defined.

  • Profile Image

    Answered by cheekyface on February 05, 2015 at 12:59 AM

    I was just about to ask for this very thing too but hopefully this is not far off being possible??

    it will save some effort in setting conditions that are altered by the user changing their mind.

    For instance I have a field that is supposed to show ONLY if the answer to question 1 = "a" and then question 2 is "Filled".  

    If the user selects "b" for question 1 then the question 2 option will NOT show.  

    All that is fine, but what if they selected "a" then entered data into question 2 then suddenly changed their mind and didn't remove the data before they changed their question 1 choice.
    This then means that any conditions set with these two fields in the calculation may not work if they depend on that question 2 field being empty.  It then means you have to get really creative with how you set up conditions and in my case actually I don't think it's possible to fix without knowing more about coding.

    ...So is there any news about this?

     

     

  • Profile Image
    JotForm Support

    Answered by Welvin on February 05, 2015 at 02:22 AM

    We have noted your replies to this thread but unfortunately, we do not have any update for this yet. I've sent a reminder to the assigned developers. If there are updates, you will be notified in this thread. Still, your patience and understanding are highly appreciated.

    Regards

  • Profile Image

    Answered by pixital on April 03, 2015 at 12:24 PM

    hello, i think that does not work in IE 11, the values of the hidden fields are still processed....

  • Profile Image
    JotForm Support

    Answered by david on April 03, 2015 at 01:22 PM

    Hi Pixital,

    If you wouldn't mind creating a new thread and letting us know the form you are working with, as well as the fields you that are not being hidden in IE11, we will be happy to have a look.  It will be much easier to follow up in a fresh thread with a bit more information.  Thank you!