Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Lynnie #1
JavaScript Form Code
Hello,
I have a web form that will be processed by formmail.pl. On the redirect page, we would like to use some JavaScript to present the user with a custom thank you page that shows their FirstName, LastName, email, phone and fax. We would need to pass the information from the form to the redirect page (thank_you.htm).
Something like this:
Thank you (FirstName)(LastName) for your interest. If you have asked us to contact you, we will be using the following information:
(email)
(phone)
(fax)
Thank you,
Blah
Any help you can give will be appreciated!!!
Lynn
Lynnie Guest
-
How to use javascript code in a plugin ?
Hi, I'd like to use javascript in my plugin but after reading the JS API reference, i still don't understand where the code should be placed, and... -
JavaScript code hints?
:confused; I'm a Dreamweaver newbie and would like to get drop-down code hints for JavaScript. Is there a way to enable this option? Thanks much!... -
JavaScript code question
I have had some trouble with this code. This is the code I used to tie in the street address with the combo box selection: var gstreet = new Array... -
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome?
I have a web form with several fields. If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed... -
execute javascript from php code
How can I execute a javascript file(test.js) from within PHP. I'm running oscommerce and want to insert a menu created in javascript by Sothink... -
Alan Ames _TMM_ #2
Re: JavaScript Form Code
this is probably out of date, the question is month old-
but- what i would do is dig into a copy of the formmail.pl script and
modify the built-in default "thank you" page that is generated right in the
script, to have the wording you wish. Within the script, you can access any
form field with $fieldname for where you want it in the text. Look at the
way the built in default page is
do a find within the script for <body>, then look within those results for
the one that has $realname submitted this on $date or similar wording for
the standard "thank you"
note- take a look at the way the script uses \ escapes before quotemarks
and @
note- this question would likely have gotten a very quick answer on the
general dreamweaver newsgroup-
--> Hello,
>
> I have a web form that will be processed by formmail.pl. On the redirect
> page, we would like to use some JavaScript to present the user with a custom
> thank you page that shows their FirstName, LastName, email, phone and fax. We
> would need to pass the information from the form to the redirect page
> (thank_you.htm).
>
> Something like this:
>
> Thank you (FirstName)(LastName) for your interest. If you have asked us to
> contact you, we will be using the following information:
>
> (email)
> (phone)
> (fax)
>
> Thank you,
> Blah
>
> Any help you can give will be appreciated!!!
>
>
>
>
>
> Lynn
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer
Alan Ames _TMM_ Guest



Reply With Quote

