-
CWFSignupAnswered on May 25, 2023 06:45 PM
It appears my conditions to test the referrer (using the get referrer widget on my form) are not working when the form is launch from one of my jotform apps. Is there a test I can use to tell if the form is being accessed from one of my jotform apps?
Thank you,
Robin Schmidt
-
Sweta JotForm SupportAnswered on May 25, 2023 09:57 PM
Hi CWFSignup,
Thanks for reaching out to Jotform Support. You can add the Get Form Page URL widget on your form, it will capture the app URL.
Give it a try and let us know how it goes.
-
CWFSignupAnswered on May 28, 2023 01:07 PM
Thank you. I added the widget to get the URL. I set up the condition below and try to run the form from my app. I also tried inserting the space as "", but neither of them have any effect. The value of of event details does not change to "" or blank. Can you advise?
-
CWFSignupAnswered on May 28, 2023 01:13 PM
Also here is the app I use to call the form:
https://www.jotform.com/app/222906593922159
Thanks for advisement,
Robin
-
Mohammad_D JotForm SupportAnswered on May 28, 2023 02:52 PM
Hi Robin,
Thanks for getting back to us. I didn’t fully understand the issue.
I cloned your form along with the app and tested it to see if I could replicate the issue, but everything was working properly. Check out the screencast below to see my results:Can you explain a bit more about the issue so I can get a better idea of what's happening?
Once we have a better idea of what’s going on, we’ll be able to come up with a solution. -
CWFSignupAnswered on May 28, 2023 03:58 PM
It does not appear to be working properly in your example. The conditions were set to clear the fields "event details" and "payment type" if the url contains "www.jotform.com". Those fields do not appear to be cleared in your example. I need them to be cleared so the field's default values do not populate these fields in my scenario. I only want the default values to populate the fields in the scenario where the form is being field from our website (not using jotform app). Thanks again, please advise.
Robin
-
CWFSignupAnswered on May 28, 2023 04:12 PM
In other word when this page appears, those fields should be cleared, forcing the user to re-enter options from the dropdowns. please see the conditions for pag url. Here is how it comes up now, with fields not cleared:
-
Justin_E JotForm SupportAnswered on May 28, 2023 04:25 PM
Hi Robin,
Thanks for getting back to us. After checking on your form, I have cloned your form to try and replicate the issue. I was able to replicate the issue and was able to see what the issue is. To fix this, you can add a "space" value on the option of your dropdown. For example:
As you can see on the options, I have added a blank space and not left it blank. This way the conditional logic can read it as a value. Now the condition should work and this will be the result:
That's it! Give it a try and let us know how it goes.
-
CWFSignupAnswered on May 28, 2023 05:32 PM
yes this worked! Thank you!
Robin