-
AuthorPosts
-
March 7, 2014 at 3:08 am #233484
Hi,
I need to put 5 different contact forms on one page. I want to create a dropdown box that controls which form appears on the page. As I select an item from the dropdown box the form below updates to the right one. Is this possible?
Tks,
JoãoMarch 7, 2014 at 3:17 am #233494March 23, 2014 at 1:00 am #241689Hi,
Tks for the info.I found a way to solve it using tabs. My problem now is another. I can insert contact forms on tabs using the shortcodes, but I can not find a solution for date fields. Is there a type=” for date? or a specific date validation?
EXAMPLE
[av_contact (Email address hidden if logged out) ' button='Submeter' title='Simulação automóvel' sent='A sua mensagem foi enviada!' subject='Site Simulação automóvel' autorespond='' captcha='']
[av_contact_field label='Date' type='text' options='' check='is_empty' width='element_half']
[av_contact_field label='Assunto' type='text' options='' width='element_half']
[av_contact_field label='Matrícula' type='text' options='' check='is_empty' width='element_half']
[/av_contact]March 23, 2014 at 1:58 am #241698Hi!
Have you tried using type=’date’?
Regards,
JosueMarch 23, 2014 at 3:29 am #241718Yes. That was my initial idea, but in that case the field does not appear at all…
Is there a workaround?
Tks,
João
March 24, 2014 at 5:19 am #241934Hey!
Can you please give us a link to the page with the contact forms?
Cheers!
IsmaelMarch 24, 2014 at 10:32 am #241996March 26, 2014 at 9:43 am #243222Hi!
Did you try the “Datepicker” element: http://www.clipular.com/c/4949742886846464.png?k=TL4PjAR-Tcv4PtfuqAg_BltnjFI ? Kriesi also uses it on the demo page: http://kriesi.at/themes/enfold/shortcodes/contact-forms/
Cheers!
PeterMarch 26, 2014 at 2:14 pm #243346Hi,
Yes, but I am using forms inside a tab. So I have to use the code for the forms and not the element. And on the code I can not set Type=’date’. It just doesn’t work…
regards,
João
March 27, 2014 at 10:35 am #243753Hi!
The contact form element works inside the tab element. I also included the datepicker. Please try this:
[av_tab_container position='top_tab' boxed='border_tabs' initial='1' custom_class=''] [av_tab title='Tab 1' icon_select='no' icon=''] [av_contact email=' (Email address hidden if logged out) ' button='Submit' title='Send us mail' sent='Your message has been sent!' subject='' autorespond='' captcha='' custom_class=''] [av_contact_field label='Name' type='text' options='' check='is_empty' width=''] [av_contact_field label='E-Mail' type='text' options='' check='is_email' width=''] [av_contact_field label='Subject' type='text' options='' check='is_empty' width=''] [av_contact_field label='Message' type='textarea' options='' check='is_empty' width=''] [av_contact_field label='' type='datepicker' options='' check='' width=''] [/av_contact] [/av_tab] [av_tab title='Tab 2' icon_select='no' icon=''] [av_contact email=' (Email address hidden if logged out) ' button='Submit' title='Send us mail' sent='Your message has been sent!' subject='' autorespond='' captcha='' custom_class=''] [av_contact_field label='Name' type='text' options='' check='is_empty' width=''] [av_contact_field label='E-Mail' type='text' options='' check='is_email' width=''] [av_contact_field label='Subject' type='text' options='' check='is_empty' width=''] [av_contact_field label='Message' type='textarea' options='' check='is_empty' width=''] [av_contact_field label='' type='datepicker' options='' check='' width=''] [/av_contact] [/av_tab] [/av_tab_container]
Cheers!
IsmaelMarch 27, 2014 at 11:14 am #243759Ok. Finnally the solution!!!! Tks a lot for the help.
The solutions is to do type=”datepicker” and it works fine.
Regards,
João
-
AuthorPosts
- The topic ‘Drop down box to select forms’ is closed to new replies.