close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Sticky Forms

Thread began 11/06/2010 12:09 pm by gpaul | Last modified 11/08/2010 2:23 pm by gpaul | 1374 views | 7 replies

gpaul

Sticky Forms

I had created "sticky forms" for my checkout page, however for some reason they are now not working. I have used this code before and never a problem.

Here are the sticky form scripts I have tried:

<td><input type="text" name="firstname" id="firstname" "<?php if(isset ($_POST['firstname'])) {echo 'value="'.htmlentities ($_POST['firstname']).'"';}?>" /></td>

<td><input type="text" name="lastname" id="lastname" value="<?php if(isset ($_POST['lastname'])) {echo htmlentities($_POST['lastname']);}?>" /></td>

<td><input type="text" name="email" id="email" value="<?php if(isset ($_POST['email'])) {echo($_POST['email']);}?>" /></td>

All of these have worked on other sites. Since the code did work and now it does not, my first inclination was to see what had changed, but am unable to locate anything.

I have also added the

if(!isset($_SESSION)) {
session_start();
}
$_SESSION['firstname']=stripslashes($_POST['firstname']);

Although it was working without as the session variables are already set.

Anyone have a clue as to why I am having this issue or where I am having the issue?

Also, it would seem to me that this should have been included with the original code since there is a Modify Information button, is it possible I did not create the pages correctly or miss some option in the beginning?

Thank you

Gary

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...