close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Reload part-filled form

Thread began 3/25/2013 9:24 am by paul386190 | Last modified 3/25/2013 11:06 am by Jason Byrnes | 267 views | 1 replies |

paul386190

Reload part-filled form

Hi there, I wonder if anyone can offer any advice...

I have a form for a client to add a product to their website within which there is a group of checkboxes used for the client to select any number of tags/keywords associated to this product. At the bottom of this section I have a text field into which they can add a keyword that may be missing from the list, and a button beside it which submits that keyword to the database and reloads the page displaying this newly added keyword within the list. It's working fine, but the issue I have is that any text entries or other selections the client has made on the form before submitting the new keyword are being lost on the page reload. Is there anyway these can be captured within a session variable which can then be passed along with the page url for the redirect path of the 'Add Keyword' button?

Many thanks in advance.
Paul

Sign in to reply to this post

Jason ByrnesWebAssist

Use the Set Session Value behavior for each form element.


On the server behaviors panel, click the plus button and select WebAssist -> Cookies -> Set Session Value

For the trigger, select any form post, For the value, click the lightning bolt, expand the forms collection and select the first form element in the list. Set the name to the the same as the selected form element.

repeat this for each form element.

now in design view, select the first form element, in the property inspector, click the lightning bolt icon next to initial value (For checkboxes or select lists, click the dynamic button) and select the corresponding session variable.

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