close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


"Remember Me" checkbox?

Thread began 10/29/2012 11:45 am by Justin@AdventDesign | Last modified 11/21/2012 1:04 pm by Ray Borduin | 919 views | 3 replies |


"Remember Me" checkbox?

The client is requesting a 'remember me' checkbox where the user inputs their billing and shipping address. I'm not sure this is ideal as opposed to a login system. But in any case, I know I've seen it in a login system. I assume the approach would be to have the system store all the data on the page in a cookie if the box was checked, and then check for the cookie when visiting the page.

What webassist tools would I use to accomplish this?

Sign in to reply to this post

Jason ByrnesWebAssist

use the Cookies toolkit included in security Assist and Data Bridge to store the entered information in cookies if the box is checked.

Sign in to reply to this post


Validation Value vs Cookie Value

For many of the form fields I want to remember with a cookie, they currently have their values set from form validation, so if there is a validation issue the form autofills the previous entry. How do I set a form field so it fills with cookie data initially, and validation data upon return to the page? Or, do I have to do this with two separate pages (create a secondary page for invalid validation correction)?

This is the value that currently exists in the input value before I apply cookie data:
<?php echo(ValidatedField("confirm_01","billing_business")) ?>

Sign in to reply to this post

Ray BorduinWebAssist

You would probably change that to use an IF statement so that it would show the cookie if the validated field didn't exist... something like:

<?php echo(ValidatedField("confirm_01","billing_business ")?ValidatedField("confirm_01","billing_business "):$_COOKIE['billing_business']) ?>

Sign in to reply to this post
Did this help? Tips are appreciated...

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





Ease of use


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...