contact form - display 'thank you' message
could tell me how code asp contact form display 'thank submission' message on original page. don't want redirect totally new pages have 3 forms in total 2 of them on 1 page. ideally able position thank messages underneath each of forms.
i familiar response.redirect not how display message on current page.
many thanks
add hidden form element this:
<input name="doform" type="hidden" id="doform" value="true" />
and add code:
<% if request.form("doform") = "true" dim strmessage strmessage = "first name: " & request.form("firstname") & "<br />" &_ "last name: " & request.form("lastname") & "<br />" &_ "email: " & request.form("email") response.write(strmessage) end if %>
ken ford
adobe community expert - dreamweaver/coldfusion
adobe certified expert - dreamweaver cs3
adobe certified expert - coldfusion 8
fordwebs, llc
http://www.fordwebs.com
http://www.cfnoob.com
message edited by: ken ford - ace
More discussions in Develop server-side applications in Dreamweaver
adobe
Comments
Post a Comment