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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

"modify info" button on multi-page form

Thread began 2/21/2011 12:44 am by rikaG_510 | Last modified 2/25/2011 1:18 am by rikaG_510 | 1186 views | 4 replies |

rikaG_510

"modify info" button on multi-page form

Hi Jason (and everybody),

In the last thread I asked about how to create "confirm.php" page for contact/order form.
showthread.php?t=18902
Thanks to the advice, I'm nearly done with the process.

And I realized that I needed one more thing to work out.
On "confirm.php" page, I made two buttons; "submit" and "modify information" (so one can go back to order form with info already typed in and modify.)

"submit" is working just fine, but I need to know how to make "modify" button.
Just by linking the button back to the order form page, obviously the typed in info is all gone.
How can I add a behavior to make this button work?


Thank you for your help as always.
Rika

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, add a set session value for each form element.

Open the server behaviors panel and click the plus button. Select eCart -> General -> Set Session Value


set the trigger to any form post.

Click the lightning bolt next to value and select one of the checkout form elements. Set the name of the session to the same as the name of the selected form element.


on the checkout page, select each form element, on the property inspector, click the lightning bolt next to initial value and select the corresponding session variable.

Sign in to reply to this post

rikaG_510

Hi Jason,

Thank you for your reply.

I'm a bit confused in following your direction, so can I confirm about what you've mentioned?

1. My order form goes like this;

Order Form (extended version of contact form, used CSS Form Builder, not eCart.)
—> Confirm page with submit button with Universal Email function.

Now, The only form elements in Confirm page are the two buttons of Modify and Submit. Do I add a set session value to these button?

And,

Should I still use eCart's set session value?
Or should I use WA Cookies Toolkit?
(Since I haven't used eCart for this form at all.)

2. You say "on the checkout page", so in my case, this could be the order form page, as it is the page you go and type in your info and ordering contents?

Hope I'm making a sense.

Rika

Sign in to reply to this post

Jason ByrnesWebAssist

to get the order form bindings on the confirm page, go to the bindings panel, click the plus button and select Form Data, click the folder icon and select the order form page.


you can use either the set session value behavior for eCart or for cookies toolkit, they both the exact same thing and write the exact same code.

Yes, by checkout page, i am referring to your order form page, I'm a little to used to talking in terms of checkout and confirm page i guess ;)

Sign in to reply to this post

rikaG_510

Jason,

No problem, I'm the one who's not used to this, so I just wanted to make sure.
I will try this out now.

Thank you.

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