how I can change value (#form.wf_ahe_kontrolaZa_K.akceptacjaZarzaduKanclerzData#) in Tex Field if is empty or null. I'm a beginner user and I can't self resolved this problem.
Hi, I would like to display hash value in TextField if hash value is set (ie. different from a "empty" and different from the "null"), but if the hash value is not set (ie. "empty" or "null") I want to display in TextField string "N / A"
I don't know what would be the best way to do what you're asking but I may have a workaround for you. What you can do is, drop a Custom HTML field in your form and write a JavaScript to check if the hash variable is getting any value or not. Based on this condition, you could change the text of the textbox in question.
5 Comments
Hugo
Hi there,
The hash variable is used to pull values, not to set value. Maybe you can try something else or tell us on how you want to achieve.
Hope this helps.
Thanks.
McStar
Hi, I would like to display hash value in TextField if hash value is set (ie. different from a "empty" and different from the "null"), but if the hash value is not set (ie. "empty" or "null") I want to display in TextField string "N / A"
hashVariables.png
Ashutosh Tripathi
Hi there,
I don't know what would be the best way to do what you're asking but I may have a workaround for you. What you can do is, drop a Custom HTML field in your form and write a JavaScript to check if the hash variable is getting any value or not. Based on this condition, you could change the text of the textbox in question.
You could try something like this:
Hope this helps,
Thanks,
Ashutosh
McStar
Perfect solution
Thank you for your help
McStar
.