close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Set Form from Cookie not working?

Thread began 4/03/2014 2:17 am by Nathon Jones Web Design | Last modified 4/03/2014 9:51 am by Jason Byrnes | 776 views | 3 replies |

Nathon Jones Web Design

Set Form from Cookie not working?

I've set up a registration form and I'd like the users details to be saved when they submit the form and are then directed back to it because they've failed the validation. I set the "Store Form to Cookie" behaviour to trigger onmouseover of the forms submit button and set the "Set Form from Cookie" behaviour to trigger onload in the body tag but it's not remembering the form details.

I should add that this is an INSERT form and also has Server Validation set to trigger on submit of the form button...I was wondering if all three behaviours were conflicting in any way?

http://www.ledwarehouseuk.com/register.php

Thank you.
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

using cookies is not the correct approach for this.

when using server validation on a page, there will be a binding group in the bindings panel called Validated Entries.

The validated entries bindings will save the form values that pass validation when validation fails.

use the validated entries bindings as the initial value for the form elements to retain the values when validation fails.

Sign in to reply to this post

Nathon Jones Web Design

Really? Jeesh, I've been doing it that way for years - always thought it was a real pain - but it kinda worked!
Thanks for the advice.

Out of interest, I'm having a problem with the tabindex on this form. When you are in the first form field for first name and try to tab into the next field you have to double-tab? All the other tabs work, in the correct order, and I've triple checked the numbering. Some kind of bug?

Thank you.
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

I am not able to reproduce, the tab index is working correctly for me when i try your form.

Sign in to reply to this post

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