close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Paypal Fields

Thread began 10/15/2013 7:14 am by rob294118 | Last modified 10/15/2013 8:20 am by rob294118 | 1915 views | 8 replies |

rob294118

Paypal Fields

I'm trying to set up multiple lists and text fields but I'm only allowed to set up 1 list field. How do I create multiple fields?

Sign in to reply to this post

Jason ByrnesWebAssist

you posted this under the Button Styler forum, what tool are you using? eCart? Free Tools - Paypal add to cart buttons? other?

Sign in to reply to this post

rob294118

free tools

Sign in to reply to this post

Jason ByrnesWebAssist

I'm assuming you mean Free tools - PayPal Add to cart button.

to add additional options, you need to hand code the option after the button is created.

options are passed using form elements with a naming convention of:
on<int> - This passes the name of the option (where <int> is a number starting at 0)
os<int> - This passes the value of the option (where <int> is a number starting at 0)

if you set up a size option in the button with small, medium and large, the code genewrted will be:

Size:<input type="hidden" name="on0" value="Size" />
<select name="os0">
<option value="Small">Small</option>
<option value=" Medium"> Medium</option>
<option value=" Large"> Large</option>
</select>




so to add a color option, you would add another hidden element named on1 to pass "Color" as the name of thew option and a select list named "os1" to pass the selected color:

Color:<input type="hidden" name="on1" value="Color" />
<select name="os1">
<option value="Red">Red</option>
<option value="Yellow">Yellow</option>
<option value="Blue">Blue</option>
</select>
Sign in to reply to this post

rob294118

ok. I thought the tool would do this. How would I add a check-box?

Sign in to reply to this post

Jason ByrnesWebAssist

The tool can only add the first option, other options need to be added manually.

what is the checkbox for?

Sign in to reply to this post

rob294118

An "I agree" box.

Sign in to reply to this post

Jason ByrnesWebAssist

I Agree:<input type="hidden" name="on2" value="I Agree" />
<input type="checkbox" name="os2" value="yes" />



paypal does not offer a way to enforce this agreement though.

Sign in to reply to this post

rob294118

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