Page 1 of 1

Retain value and fields behavior upon clicking previous step link

Posted: Wed May 18, 2022 8:07 pm
by jab3asus
Can someone help me,

I would like to retain all my inputted value in my dynaform and all fields behavior once I clicked the previous step link
sample:

I have a fields that are hidden upon form load then when I select the permanent /regular in dropdown
some of the hidden fields will show up and the other will be hidden but when I clicked the previous step link then
All my fields that should be shown in the dynaform are hidden and the other that should be hidden are shown up.

Please help me
I am a newbie in PM

Thanks a lot

Re: Retain value and fields behavior upon clicking previous step link

Posted: Sat May 21, 2022 7:24 am
by ronrich
Hi jab3asus,

You may want to consider using the saveform() javascript helper so you can implement some code to be triggered when the previous step link is clicked:

https://wiki.processmaker.com/3.2/JavaScript_Functions_and_Methods/Dynaforms#form.saveForm

I hope this helps.

Kind regards,

Re: Retain value and fields behavior upon clicking previous step link

Posted: Wed Jun 01, 2022 5:47 am
by jab3asus
Hi ronrich,

I have already tried that method but it won't work for me, but I already found a solution to retain the value and behavior of my fields.


I appreciate you so much, Thank you.