-
AuthorPosts
-
May 15, 2018 at 1:34 pm #956997
Hello,
I’m weak at jscript/jquery things. So perhaps you would help me.
I have a simple Enfold form at my site. With dropdown select element field type.
All I need that additional text field appear at the specific option choose. I found some script using Google, but as I understand Enfold uses its own ids, classes and so on, so for me it is hard to implement all this.May 15, 2018 at 5:03 pm #957098Hey MAKSIMS,
Thanks for giving us the link to your form, however I’m not really sure what your trying to achieve.
I could see a dropdown/option field before the submit button. Can you give us a link of the script which shows what you’re trying to achieve?Best regards,
NikkoMay 15, 2018 at 5:39 pm #957130Hey Nikko,
thank you for your reaction. Actually I am trying to achieve something like this: http://jsfiddle.net/a8ZWx/, but with the Enfold form.
I will explain – our page just will offer to our customer to purchase a gift card. One of the option will be – “I will enter the value of my own” and if the customer choose this option we need this additional field to appear. Please, see the link above – this is what we need, but i don’t know how to implement it in Enfold form.
May 16, 2018 at 3:54 pm #957555Hi MaxMiko,
Thanks for giving us the link, I have inspected your site and the dropdown field have this id #avia_5_1 you should be able to use it.
You should see the id using a web inspector, I have posted a link in private content, so you can see it.
I think you already know how to add js code to Enfold, but just in case you need it, you can check it here: https://kriesi.at/documentation/enfold/add-custom-js/
Hope it helps :)Best regards,
NikkoMay 17, 2018 at 2:52 pm #958190Thank you! Works like a magic. I just wrote <html>Form Html</html><script>jQuery code even with $ signs</script> directly at the page using raw html and all worked. Hope it will have no other conflicts on other scripts at the page. But it was much more faster than your strategies.
May 17, 2018 at 3:10 pm #958204Hi MaxMiko,
Glad that we could help :)
I didn’t see any js errors when I checked on your site again, so there should be no conflict.
Feel free to comeback if you need further assistance.
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Field at option choose’ is closed to new replies.