Popup message on Homepage form

WordPress theme dedicated to start-up websites with amazing CSS3 animated icons, price tables and parallax effect background.
GK User
Fri May 31, 2013 4:06 pm
Hi there,

I'm trying this for hours without success.
On my contact page, as soon as I click "Send" I receive a beautiful "Thanks for sending" message.

How can I replicate this on Homepage? I would like to show a confirmation message there too.
User avatar
Junior Boarder

GK User
Fri May 31, 2013 10:59 pm
Hi,

Firstly i need to know, how are you displaying this form on homepage.. You can check the confirmation message from contact page in Simplicity/template.contact.php file (around line 108).
User avatar
Moderator

GK User
Sat Jun 01, 2013 4:12 am
Hi,

I'm using this on the homepage widget



<form class="gk-form" target="hiddenFrame" action="http://estrategi.ca/wp-content/themes/Simplicity/mail.php" method="post">
<div><input type="email" name="email" placeholder="Deixe o seu email"> <input type="submit" value="Enviar" /></div>
</form>



<div id="hiddenDiv" style="display:none;visible:hidden;">
<iframe src="hidden.html" height="1" width="1" border="0" scrolling="no" name="hiddenFrame" id="hiddenFrame"></iframe>
</div>


Since I can't show the message, I'm sending to a hidden frame, but that sucks :(
User avatar
Junior Boarder

GK User
Sun Jun 02, 2013 5:27 pm
I'm still stucked, could see how can I adapt this on the Homepage. Could you help me?
User avatar
Junior Boarder

GK User
Mon Jun 03, 2013 9:17 am
Could you also attach themes/Simplicity/mail.php file? (here or send me a PM)
User avatar
Moderator


cron