-
AuthorPosts
-
March 28, 2018 at 9:05 pm #934498
Hi!
I followed the information in this thread https://kriesi.at/support/topic/adding-input-types-to-form-fields/ to change the type “text_input is_email” for “email”.
And then, I created the contact form in this page (http://new.diagonal.com.br/) by adding a code block with this code:
<form action=”http://new.diagonal.com.br/” method=”post” class=”avia_ajax_form av-form-labels-hidden avia-builder-el-40 el_after_av_heading avia-builder-el-last av-centered-form ” data-avia-form-id=”1″ data-avia-redirect=””><fieldset><p class=” first_form form_element form_element_third” id=”element_avia_1_1″> <input name=”avia_1_1″ class=”text_input is_empty” type=”text” id=”avia_1_1″ value=”” placeholder=”Nome*”></p><p class=” form_element form_element_third” id=”element_avia_2_1″> <input name=”avia_2_1″ class=”text_input is_email” type=”email” id=”avia_2_1″ value=”” placeholder=”E-Mail*”></p><p class=” form_element form_element_third av-last-visible-form-element” id=”element_avia_3_1″> <input name=”avia_3_1″ class=”text_input ” type=”text” id=”avia_3_1″ value=”” placeholder=”DDD e Telefone”></p><p class=”hidden”><input type=”text” name=”avia_4_1″ class=”hidden ” id=”avia_4_1″ value=””></p><p class=”form_element “><input type=”hidden” value=”1″ name=”avia_generated_form1″><input type=”submit” value=”Cadastrar” class=”button” data-sending-label=”Sending”></p></fieldset></form>
But now I have 2 problems:
1) the form isn’t working;
2) I don’t know how to add more email addresses where mails should be delivered to (because I’m not using the default alb element for the contact form).
Can you help me?
Thanks in advance!
Best regards,
Mariana.
March 29, 2018 at 4:24 pm #934892Hey maripupo,
Thank you for using Enfold.
Why do you need to change that to “email”? I’m sorry but you can’t define the email address in the form’s html. It has to be defined in the contact form shortcode which is then use as a parameter of the wp_mail or mail function.
Best regards,
IsmaelMarch 29, 2018 at 4:24 pm #934893Hey maripupo,
Thank you for using Enfold.
Why do you need to change that to “email”? I’m sorry but you can’t define the email address in the form’s html. It has to be defined in the contact form shortcode which is then use as a parameter of the wp_mail or mail function.
Best regards,
IsmaelMarch 29, 2018 at 5:13 pm #934914Hi!
I need this because my client is using a CRM called RD Station to capture the leads of this form.
And this CRM requires:
– the field e-mail in the form needs to be type or name=”email”;
– the button needs to have attribute type=”submit”; (that’s ok)
– the contact form nerds to be inside tags <form></form> (that’s ok)
– the form shouldn’t be inside iframesDo you know if I can achieve that, with the alb element? Any suggestion?
Thanks for the help.
Best regards,
Mariana.
March 30, 2018 at 8:06 am #935146Hi Mariana,
You might want to try using Contact Form 7. Enfold uses different values for the input names as you can see.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.