I'm trying to create a condition with Umbraco Forms.
Indeed, I want a field to appear when a certain value of a dropdown list is selected.
Here is my condition :
Unfortunately, my text field is always visible, even if I don't choose any value in my dropdown list.
Do you have any idea why my condition is not working ?
Thank you Laureline, I had replaced a DataSource DropDownList with a Searchable DropDownList, and the "Other" Category was not showing the "please specify" box. So i was using a different value like "1234" for "Other"
So what i did was added another condition with "Is 1234", then selected the drop down list in question.
It didnt work, i changed it to Contains and it does!
Conditions on dropdown
I'm trying to create a condition with Umbraco Forms. Indeed, I want a field to appear when a certain value of a dropdown list is selected. Here is my condition :
Unfortunately, my text field is always visible, even if I don't choose any value in my dropdown list.
Do you have any idea why my condition is not working ?
Thanks for your answers.
Hi Laureline,
First step is to ensure that you have these dependencies
Try to see this documentation https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Prepping-Frontend/ if you are more into videos see this one.
https://umbraco.tv/videos/umbraco-v7/implementor/extending/umbraco-forms/preparing-your-frontend/
Hope this helps,
/Dennis
Thanks for your answer,
I included these 3 dependencies, but now, when I choose "Other" in my dropdown list, my text field stays in "display none".
What can I do... ?
Hello Laureline,
What version of Umbraco & Umbraco Forms are you using?
Thanks
Warren
I solved my problem ! Indeed, I replaced "Is" by "Contains", and it worked ! :)
YAS! CONTAINS WORKS!
Thank you Laureline, I had replaced a DataSource DropDownList with a Searchable DropDownList, and the "Other" Category was not showing the "please specify" box. So i was using a different value like "1234" for "Other"
So what i did was added another condition with "Is 1234", then selected the drop down list in question.
It didnt work, i changed it to Contains and it does!
Happy days.
is working on a reply...