View Full Version : problem with form

06-29-2010, 08:51 PM
I am building my first site for my buisness. I am building the site from a template. There is a contact form I want to use and I am having problems with getting it to work. When I test and submit the form I get the email, but there is no information from the input fields. The thank you redirect is working ok. The email comes in blank with no text from the input fields. This is my first time setting up a email form. I have spent hours searching and I have finally raising the white flag and going to ask the pro's here. You can find the contact page here. http://www.elitemechanicalplumbing.com/contact_us.html
Thank you

<form action="http://www.startlogic.com/scripts/formemail.bml" id="form"><input type="hidden" name="thankyou_url" value="http://www.jjplumbinghvac.com/thank_you_contact.html"/>
<div class="container1">
<div class="h"><input type="text" value="Enter your name" onblur="if(this.value=='') this.value='Enter your name'" onfocus="if(this.value =='Enter your name' ) this.value=''" /></div>
<div class="h"><input type="text" value="Enter your e-mail" onblur="if(this.value=='') this.value='Enter your e-mail'" onfocus="if(this.value =='Enter your e-mail' ) this.value=''" /></div>
<div class="h"><input type="text" value="Enter your phone" onblur="if(this.value=='') this.value='Enter your phone'" onfocus="if(this.value =='Enter your phone' ) this.value=''" /></div>
<div class="h"><input type="text" value="Enter subject" onblur="if(this.value=='') this.value='Enter subject'" onfocus="if(this.value =='Enter subject' ) this.value=''" /></div>
<textarea rows="40" cols="30" onblur="if(this.value=='') this.value='Enter message'" onfocus="if(this.value =='Enter message' ) this.value=''" >Enter message</textarea>
<div class="container">
<div class="fright">
<a href="#" class="link-1" onclick="document.getElementById('form').reset()">Reset</a>
<div class="indent-2"><a href="#" class="link-1" onclick="document.getElementById('form').submit()">Submit</a></div>
<input type="hidden" name="my_email" value="test@jjplumbinghvac.com"/>

06-29-2010, 09:33 PM
That yellow box on the post entry form is contains useful information:

Reminder: Be sure to use a descriptive title for your question that summarizes it. If your post includes code, wrap it around using the [CODE] tag for multi-line code, and the [ICODE] tag for inline code that's part of a sentence.
Assuming you're using your form handler correctly (whatever that formemail.bml thing is), you could ditch the javascript cruft and test a straight form. I suspect the problem is your use of the form handler (or the handler itself), though.

06-30-2010, 12:58 PM
Quite a lot of useful stuff here (http://www.exitfegs.co.uk/Sources.html).

Use the search facility. Single words often best.


06-30-2010, 03:48 PM
I'm going to assume that formemail.bml script isn't yours. Startlogic says you have to set up the form in a certain way.


06-30-2010, 03:53 PM

How did you tie those two scripts together? I couldn't find the documentation for the OP's version on that miserable Startlogic "support" section, so I gave up digging for it.

07-01-2010, 05:29 AM
I googled startlogic formemail and got this


It says the script they use is on scriptarchive.com however that is formmail so it could be different than formemail. Just noticed.

I just searched for formemail.bml and it looks the op won't be coming back. He posted on other forums and someone there rewrote the form processor script for him. Turns out there were no names on the inputs.