May 17, 2015 at 5:48 pm #14155
I have embedded the contact form shortcode into a popup using OptinMonster. You can see it by clicking the blue contact button at the bottom of this page:
When I submit the form though, it takes me to this URL and a blank white page.
Am I missing some setting somewhere or something?
Thanks!May 18, 2015 at 5:53 pm #14178
Can you pls a temp login as a private message here so that we can try out a few things? Does this problem occur only if you embed in the popup or everywhere else too like in a regular page?May 18, 2015 at 7:43 pm #14194
It happens wherever I put the form. I am using this code:
<form class=”contact-form ” action=”https://www.zling.com/production/wp-content/themes/enigmatic/enigmatic/framework/scripts/sendmail.php” method=”post”><fieldset><p><input type=”text” name=”contact_name” placeholder=”Your Name” class=”text-input” required></p><p><input type=”email” name=”contact_email” placeholder=”Your Email” class=”text-input” required></p><p><input type=”tel” name=”contact_phone” placeholder=”Your Phone” class=”text-input”></p><p class=”human-check”><label>* I am a human and 4 + 9 = </label><input type=”text” name=”human_check” class=”text-input” size=”5″ style=”width: 50px;”></p><button type=”submit” class=”button large yellow”>Send<i class=”icon-email”></i></button><input type=”hidden” name=”mail_to” value=”firstname.lastname@example.org”/></fieldset></form>May 19, 2015 at 12:54 pm #14203
Any reason why you are not using the shortcode itself? There could be an error in html or WordPress is a little unreliable when it comes to handling html due to auto formatting.May 19, 2015 at 2:47 pm #14206
I did that because I wanted to remove the labels that were displaying about the fields, and also so I could remove the message box because I don’t need that.
Is there a way to use the shortcode but have it display as I have it now?
Thanks!May 20, 2015 at 6:11 am #14218VeenaModerator
Yes, you can use the shortcode and then you need to apply custom CSS to adjust the styling.May 21, 2015 at 7:19 pm #14244
I tried that before and was not able to customize it how I needed it completely. So there is no way to make it work the way I have it? Thanks!May 22, 2015 at 10:33 am #14251
I don’t see a reason why it would not work but a slight error can make things difficult for you. Any reason why did not consider using a plugin like contact form 7 which will let you do unlimited customization. It is extremely popular and well worth the investment of time in the long run.May 26, 2015 at 8:10 pm #14317
Since I was only going to have one form on my site, I thought I could just use the theme’s form. Do you see any mistakes in my code?May 27, 2015 at 12:52 pm #14328
Any reason why you have a directory named enigmatic inside enigmatic for the themes folder? I am not sure that would work right since wordpress would look for relevant files like templates and style.css in the themes/enigmatic folder. Can you pls check and try to move the enigmatic folder contents to the parent themes/enigmatic folder? Pls check and let me know if that helps.June 3, 2015 at 3:37 pm #14453
Thanks, I tried that, no luck. Is there a way for me to set the form to redirect to a specific URL upon completion? That would solve my problem.June 4, 2015 at 11:50 am #14473
Sorry to hear you are still having trouble with this. Can you do a quick check with this plugin and see if emails are being sent –
and if successful, pls post a temp login and I will try to take a closer look. Thanks.June 4, 2015 at 6:18 pm #14480This reply has been marked as private.June 5, 2015 at 1:31 pm #14507This reply has been marked as private.
- The forum ‘Enigmatic Theme Support’ is closed to new topics and replies.