Hi there,
when working with form steps it seems to be impossible to clear the value of a text field once the user has typed in something. When clearing the corresponding variable this does not effect the value displayed inside the input.
Hi there,
when working with form steps it seems to be impossible to clear the value of a text field once the user has typed in something. When clearing the corresponding variable this does not effect the value displayed inside the input.
Hi Vanessa,
Could you provide some additional detail on this issue? It should be possible to select and delete the information in the form fields. Do you mean after the form has been submitted, or before as well?
Thanks,
Brian
Hi Brian,
the setting is as follows:
We have a form step where the user inputs a serial number of a product. He then proceeds to the next page from there by submitting and does other things. When the whole process is finished, he goes back to the very first Page with the link to said form step. Here the corresponding variable is cleared before the user gets to the form step. But inside the input there is still the value the user has typed in before, even though the variable is empty.
Of course the user can manually clear the input but we wanted to do this automatically
Hello,
Thanks so much for providing some additional context here. I’ve spoke to the team about this issue and have submitted an internal ticket into this bug. We will feed back to you with updates on this issue!
Thanks,
Brian
Hi Brian,
Any update on this topic? I am facing the same issue.
While there aren’t updates yet with regards to clearing variables on Form Steps, this can be achieved when using Input widgets on regular Steps.
Using the following Trigger will clear your variable:
Will the above solution work in the interim while the team works on fixing the issue?
Gio
Hi Gio, I am having the same issue, I will try to convert the forms to regular steps, but this will require extra work, hopefully you figure out how to clear the variables in the Forms.
Hi Gio,
Thanks for the reply. I was able to clear the variable using additional triggers, but I also want the fields (input Widgets) to be blank/erased, drop down selection reset to no select.
Thanks,
Mayur
Hello @Mayur,
No problem. Just so I get a better understanding, is there a reason why you can’t put an App completion? (This will store the variable and then clear the selection on the input widget.)
Let me know if that’s an option for your workflow!
Best,
Gio
Hi @gio,
My app work flow is such that team members can use a single form to enter inputs from multiple steps within the app. The inputs are stored in the table in relation to the origin step from where the user goes to the form step.
(Step1-> Form->Step1 -> Step2-> Form->Step 2-> …Step 20…app completion)
Please let me know if you need any other input.
Thanks,
Mayur
OK, thanks for clarifying @Mayur.
Could you put an app completion every time Step 2, Step 3, etc. are opened for the first time?
You will have to reload the Table Record, but doing this will clear the input widget on the Form Step.
Let me know if this solution would make sense!
Best,
Gio
I’m having the same issue.
hello @bscott, just to confirm - are you clearing the variables when starting the step?? additionally, what type of variable is the input and is it tied to a Variable or a Table Record??
thanks!!
as a note, I’m using this Trigger on Step Open to clear a Text Input tied to an App Variable and is working as expected:
I was originally using the Open Step trigger to try to clear Form Variables but that didn’t work. I had to recreate the form essentially in a step and then the trigger works as needed. So it appears you can’t clear variables on a Form Step but you can on a regular step.
Hello Tulip Team –
It is my understanding that a ticket was submitted to address this problem. Has this been fixed as I am experiencing this same issue? If so, then in what release? If not, then can you provide an ETA on resolving this issue i.e. the ability to ‘Clear’ input variables on ‘Form Steps’?
Thank you.
–Glenn
hello @GBCronin, yes it’s correct that there was a ticket submitted for this specific issue. I’ve asked the team for an expected ETA, we’ll let you know when there is an update.
in the meantime, have you considered either of these alternatives:
do you think either of these solutions would work in the meantime?? thanks for posting, and welcome to the Tulip Community!!
Hi Gio –
I would prefer not to use a ‘Regular’ step.
Do you have an example of ‘Completing’ the App and then returning to the same ‘Form Step’?
Thanks for your help.
–Glenn
hello @GBCronin,
OK, understood!!
you can change the Submit Button to a Custom Action on the Form Step:
as a note, this will Complete the App and the Variables will be returned to their default values.
Hi Gio –
Since I am not really ‘Completing’ the ‘App’, and only using this method as a work-around to clear the variables and then loop back to the Form Step, how do I suppress the ‘App Complete’ message as this would be confusing?
Thanks again.
–Glenn