Doing awy with Form Builder - Post ID...

User 1964159 Photo


Registered User
156 posts

The site is live the application-for-membership form works, but is is completely inaccessible to assistive technology users, (screen readers).
So it is gonna go!
I can code a form by hand <legend - fieldset - label and all the rest.
Just using the HTML editor, I need to know how to start the process.
Also a SUBMIT BUTTON. I want the forms to be e-mailed directly to me and for my viewer to return to say, my index page.
I assume I can use one of my external style sheets to style the forms.
Any idea folks?
:cool:
User 147665 Photo


Ambassador
712 posts

You will need to use a form mail script of some sort.. Your host may have one they recommend or you can use something like this one.
http://www.scriptarchive.com/formmail.html

The CoffeeCup html editor has an "insert" menu that has "form items"

User 147665 Photo


Ambassador
712 posts

Your form will(might) look something like this example

<form method="post" action="http://www.example.com/cgi-bin/mailform.cgi">
<p>Name
<br><input type="text" name="from" value="" size=45 maxsize=60 class=sans>
<p>E-mail Address
<br><input type="text" name="email" value="" size=45 maxsize=60 class=sans>
<p>Phone Number. Sometimes it's better to call you back.
<br><input type="text" name="phone" value="" size=45 maxsize=60 class=sans>
<p>Message
<br><textarea name="message" wrap=hard rows=6 cols=45 class=sans></textarea>
<input type="hidden" name="subject" value="from web site">
<input type="hidden" name="recipient" value="myemail@example.com">
<br>
<b><input type="submit" name="submit" value=" send -or- submit " class=sans>
<input type="reset" name="reset" value="clear form">
</form>

User 147665 Photo


Ambassador
712 posts

The script archive page has everything, the download is hard to find, but it's there..
http://www.scriptarchive.com/download.c … &c=zip

There is one from tectite too
http://www.tectite.com/

and one from ranson's scripts
http://www.rlaj.com/scripts/free_perl_cgi_scripts.html

I have lots of them stashed in my files, let me know if you need a different one..

User 1948478 Photo


Senior Advisor
1,850 posts

I wonder if Dave Thompson's "Feedback form" - in the form of a 'snippet' - might also give some ideas:

http://www.coffeecup.com/forums/html-ed … #post90241

The form is based on HTML with some js-based verifications/validations of fields.
User 147665 Photo


Ambassador
712 posts

I am thinking in the back of my little brain that Jeff's php that is used with the form builder could be used too.

User 3004957 Photo


Registered User
866 posts

Many hosts won't allow third-party formmail scripts due to security issues with cgi. But, that said, many also have their own version of the script already in place and all one has to do is edit it with an email address and redirects (if any) and it will work. Formmail is an excellent script and I fully recommend it (aside from my own snippet of course - thanks Per).



User 133269 Photo


Registered User
2,900 posts

php mail is pretty easy - consider posting the form to a php page to send mail...
I'll write up a tutorial when i have a mo if anyones interested....
Have fun
~ Fe Pixie ~
User 38401 Photo


Senior Advisor
10,951 posts

I'm interested even though I've no clue how any of this works lol. I'd love to learn how to create forms manually as well as using the CC Form Builder. :)
User 117361 Photo


Ambassador
6,076 posts

Fe - as I said somewhere in another post, it was your php solution that saved my life. I like the way I get a new page open up with the actual message content for the user to control. I like the way I get a mail sent to me with the user's request or comments. I like the way that I can easily incorporate that short block of code into my own templates. I like the way that there are no email addresses on view. Didn't you have a tutorial on your personal site at some stage?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.