November 11, 2013 at 7:56 am #186734
I am for most pages using the built in contact form I think, I did not add it but it appears in the sidebar, but on my front page I want no sidebar and a contact form down the bottom, when I use the code I get from a post I created and added the short code contact form to there is no captcha, how do I add this in please as I want to avoid using plugins unless I have to.November 12, 2013 at 3:24 am #187081
You forget the link. If you don’t want a sidebar on your frontpage, edit the page then look for Layout > Sidebar > select “No Sidebar”.
IsmaelNovember 12, 2013 at 4:43 am #187098
I know how to have front page without sidebar, that part is easy.
But I have had to add a plugin for a contact form so I get captcha, as the built in one does not add capatcha unless it is in the sidebar, but when added as a short code at the bottom of a page it does not have the capatcha.
So what I need is to know how to add the short code to a widget so its still shows the capatcha. Or a dedicated widget for the contact form that includes the capatcha included with the theme.November 12, 2013 at 2:11 pm #187228
You can use the Text Widget on Appearance > Widgets. Insert the Enfold Contact Form shortcode:
[av_contact email=' (Email address hidden if logged out) ' button='Submit' title='Send us mail' sent='Your message has been sent!' subject='' autorespond='' captcha='active'] [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]
IsmaelMay 17, 2018 at 4:08 pm #958234
I wrote my Enfold form in html and added there additional jQuery script. Inserted all in Custom HTML block. At front end form looks and behaves like a charm. Discussed here: https://kriesi.at/support/topic/field-at-option-choose/#post-958204
But I forgot, that this form is just form, without functionality. It doesn’t send mails, it does’t show autorespond text.
So my question is – how to attach this functionality for this enfold form if this form is written in html, not even using shortcodes? Is it realistic?May 20, 2018 at 9:01 am #959344
Did you try using the code given above by Ismael? This should be fully functional.
VictoriaMay 20, 2018 at 6:34 pm #959479
thank you a lot for your response, actually I dig deeper, and found classes I need + the valuable information from Ismael + my tiny jQuery and my custom Enfold form works as expected.
:)May 20, 2018 at 8:25 pm #959493May 21, 2018 at 12:36 pm #959709May 21, 2018 at 12:49 pm #959716
The topic ‘Enfold: Shortcode for contact form does not have captcha’ is closed to new replies.