Tagged: CONTACT FORM, select element
-
AuthorPosts
-
March 23, 2016 at 7:18 pm #602751
Hi, I want to create a contact form with (Select Element) but I think that this element type is incomplete for good way of work, for example:
Form element Type: Select Element
Form Element Options: Option1, Option2, Option3
Form Element Validation: Is not empty
By default “option1” is selectect, so always validation are correct and It is useless.There are any option to create a Select Element with “title” in first option same as “Please, select an option”, and then if you don’t select any option the validation works?
Thanks in advance
March 24, 2016 at 9:46 pm #603442Hey Gabri!
You can add key value pair as following
option 1 | option 1, option 2 | option 2, option 3 | option 3
and that should work fine. When you do not enter key value in pair, value is automatically chosen therefore, valid.
Please also make sure that you are using the latest version of Enfold which is currently 3.5.1 – http://kriesi.at/documentation/enfold/updating-your-theme-files/
You can checkout highlighted new features here – http://kriesi.at/archives/enfold-version-3-5-woocommerce-bookings-integration-a-new-layout-mode-5-new-demos-and-moreRegards,
YigitMarch 28, 2016 at 9:20 pm #604063Hi Yigit, thanks for your response, I also run in currently 3.5.1 version of enfold, I create a test page (link in private), check it out please..
I don’t know how to create select element with validation, can you give me instructions to create a select element same as:
Select element default option: Please, select an option
Select element options: Option 1, Option 2, Option3Thanks in advance,
March 29, 2016 at 2:50 am #604206Hi Gabri,
this is how it works:
please coose |, Mrs. | Mrs., Mr. | Mr.
Regards, TJ
March 29, 2016 at 6:44 am #604270great! thanks for your response, now it works fine!
Best regards
March 29, 2016 at 8:45 am #604300Hi!
@bugfreesystems – thanks for posting your solution.@gabri
Glad we could help you. Enjoy the theme and feel free to come back with further questions and/or problems you have. Simply open a new thread.Best regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.