PDA

View Full Version : Bluemail Reuqired Fields


WallDan
03-25-2006, 11:11 AM
I would like to ensure all form fields are populated before the sender can submit the email function> Here is my script, it allwos blank forms to be sent.

<form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST">
<input type="hidden" name="sendtoemail" value="info@mysite.net">
<input type="hidden" name="subject" value="Request Form">
<input type="hidden" name="redirect" value="http://mysite.net/Content/ThankYou.html">
<input type="hidden" name="required" value="Name,Contact,Message">

The last input line is suppose to forbid incomplete forms from being sent.

Thank you,

Dan

Dan Pritchard
03-27-2006, 05:17 PM
<form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST">
<input type="hidden" name="sendtoemail" value="info@mysite.net">
<input type="hidden" name="subject" value="Request Form">
<input type="hidden" name="redirect" value="http://mysite.net/Content/ThankYou.html">
<input type="hidden" name="required" value="Name,Contact,Message">

Dan

That can't be your whole form. The only fields I see above are the hidden ones. Post your whole form's source. I have a feeling I know what's up though.

Is the "name" attribute on your other fields set to exactly what you have in the "required" list above?

I'm pretty sure that given the form fields you've already posted, you ought to have the remaining fields defined EXACTLY like so:

<input type='text' name='Name' value='' />
<input type='text' name='Contact' value='' />
<textarea rows='8' cols='80' name='Message'></textarea>

And please note, I'll bet the capitalization does matter.


This is all a hunch but it's the best guess I have without seeing your whole form, or being able to see the source of bluemail.

PS: bluemail is a really, really pointless script--your e-mail address gets shown in cleartext in the source of the page, just begging to be harvested by spammers! The only advantage it has over just posting your e-mail on the page is convenience for the person emailing you. But security-wise if you use that you're just begging for gobs of spam. At least use a throwaway forwarder address then so you can swap it out from time to time. Like "contactform000002@mysite.com" or something.

mwmoriarty
05-24-2006, 04:32 PM
Hi there,

As mentioned above, the e-mail address is open season for spammers.

Does bluemail allow using special characters such as 'o' (in place of 'o'), etc.? if so you could encrypt the e-mail address in ASCII and not be spammed.

Any response would be appreciated.

Michael

Bradley
05-26-2006, 03:42 AM
Hi!

Yes bluemail does allow the special characters. I used the special characters for the email in bluemail and some Javascript to hide the other instances of my email throughout the website and I have not had one spam.

woolyg
06-04-2006, 10:17 PM
Here's my form code:


<form action="http://www.bluehost.com/bluemail" method="post" enctype="multipart/form-data" name="Signup" id="Signup">
<input name="sendtoemail" type="hidden" id="recipient" value="myemail@mysite.net">
<input name="subject" type="hidden" id="subject" value="Signup Request">
<input name="redirect" type="hidden" id="next_page" value="http://www.mysite.net/thankyou.htm">
Your Email Address: <input name="mailfrom" type="text" id="mailfrom">
Web Address: <input name="webaddress" type="text" id="webaddress"></td>
Select a password (at least 6 chars): <input name="Password" type="password" id="Password"></td>
<input type="hidden" name="required" value="mailfrom,webaddress,Password">
<input type="submit" name="Submit" value="Sign Up">
<input type="reset" name="Reset" value="Reset">
</form>

.. when the user clicks submit, the form goes through the motions, but does not flag the process when someone does not fill in the required fields.

Is it a feature of bluemail CGI that required fields go unnoticed?
Regards
PG

Louis
06-29-2006, 04:40 PM
This is the same problem we are facing... We can not use the Bluehost script because it does not allow for required fields.

Is there any solution to this coming anytime soon?

Frankly, I was very surprised to see this option missing.

Thanks.


Cheers,
Louis

brod(d)ers
07-01-2006, 08:27 PM
I found a great starting script in a book the other day that i'm now using on my site (http://www.brodribb.net/contact.php) and have found that it works great. It seems to do a good job because it does not reveal my email to anyone, it checks required fields and it turns up in one of my email accounts in a resonably formatted style that I can happily read! If you're interested in getting your hands on it, send me a message through the link above and i'll reply asap with the basic script that i had modified!

Cheers,

sam

magnerit
10-13-2008, 02:00 PM
I have my for completed, and it works just great...until someone doesnt complete the info. All I want to do is require the e-mail address to be completed before submitting form. The form is in html

can anyone guide me here?

I can submit the code if needed

Thanks,
Jacki