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

Building convention registration platform - adding text field each

Thread began 5/28/2013 2:12 pm by Brendan | Last modified 5/30/2013 1:26 pm by Jason Byrnes | 1131 views | 7 replies |

Brendan

Building convention registration platform - adding text field each

I am building a registration page, with different prices for member/non-member. A single user (company admin) will likely register several people for the convention. I think there are a couple way to make this work, but not sure how to pull it together....

I want to either update QTY in the form, and allow that "QTY" of field for attendee names...
Or
Provide an add to cart button up-datable firstName and lastName fields, and the user can click an "add more" to create as many "registrants" as needed. Then a single add to cart button that adds that quantity to the cart.

I thought I saw a tut on adding fields in this manner, but can't seem to find it, and not sure if it would fit into the ecart/multiple item single add to cart behaviors.

Thanks for the help in advance!

Sign in to reply to this post

Jason ByrnesWebAssist

each user would need to be a separate registration you will not be able to add multiple registrations at once, you need to add each one indivdually.

you can add the user first name and last name columns to the eCart object, set these columns as unique. Then in the add to cart button behavior, set those columns to be updateable from a text list.

Sign in to reply to this post

Brendan

Setting the first/last columns as unique will not actually require a unique entry at the database though correct?

Sign in to reply to this post

Jason ByrnesWebAssist

No, it will treat each first name, last name combination as a unique item in the cart.

Sign in to reply to this post

Brendan

All previous advice is great, now just trying to give the page the "feel" of multi item add to cart. I want to create 5-10 static cart buttons on this page, and leave the redirect blank so that the user can add more items without going back and forth to the cart.

Is there a way to show a success or thank you message when the add to cart button is pressed? Then I can just add a "go to cart" button on the page.

ie "Your item has been added to the cart, you may add additional registrations, or click Checkout above"

Sign in to reply to this post

Jason ByrnesWebAssist

You could add the quick cart display manager to the page to show a running total of the items that are added and show a checkout button as well.

Sign in to reply to this post

Brendan

Thank you for all the help so far... Ran into another question.

If I am adding several 'editable' fields in a dynamic cart button, can I store the main (productId, qty, price, orderId) in the order details table, and then store my registration fields (first, last, company, etc.) in a separate table? Or am I just making this more complicated than it needs to be....

lastly, would I add <?php echo ((isset($_POST["fieldname"]))?$_POST["fieldname"]:""); ?> in the bindings section for each editable field where I am accepting text or checkbox

Sign in to reply to this post

Jason ByrnesWebAssist

That is making it more complicated than it needs to be, but it could be done by adding a second store order details behavior to store the registration info in the second table.

No, that is not necessary, just set the field to be =editable from a txt field and the binding will be taken care of for 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...