Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: Auto Generate Form Fields

Quote Reply
Re: Auto Generate Form Fields In reply to
Thank you so much, Alex. Smile

What I'm trying to do is set up a web store that can handle all kinds of pricing options (volume discounts and the like), item options (including options that adjust the price), shipping options, etc. - very flexible.

All these pricing and other options would be included in the database, and the output pages would be automatically built to work with my shopping cart.

This requires the ability to easily create and manage multiple select boxes, checkboxes, and radio buttons, as well as lots of hidden stuff.

To offer options that adjust the price, while still building the select boxes, some additional code has to be added to each option, and I'm concerned that the extra symbols might mess up the build process. For example, if I want to offer size options, and the 2XL and larger sizes involve an additional charge, the select options should look like this:

Small
Medium
Large
X-Large
XXL!+1.50
XXXL!+2.00

and the field value would look like this, given your code above using a space as a delimiter within the size field:

In Reply To:
Small Medium Large X-Large XXL!+1.50 XXXL!+2.00
Will the extra ! and + symbols mess up the building process?

Also, another thing that I want to do is offer volume discount pricing. This involves a string of pipe-delimited options for the cart to recognize the volume discount pricing scheme and also the use, again, of the ! symbol.

For example, the format that my shopping cart uses for volume discount pricing looks like the following:

In Reply To:
<input type=hidden name=id_price value="1-10!9.95|11-20!9.50|21-100!9.00">
I would have to include the full string of:

In Reply To:
1-10!9.95|11-20!9.50|21-100!9.00
in the "Price" field of X product, but my concern is that the pipes and the exclamation points will mess up the build process.

Should the cart's required pipes delimiters and exclamation points be escaped somehow so that the build process is unaffected, while safeguarding the integrity of the data that is to be transferred from the db to the output pages? Perhaps the quantity discount line and the size line should be enclosed in quotes.

Thank you so much, again. I really appreciate your help.SmileSmile

DT



Subject Author Views Date
Thread Auto Generate Form Fields sangiro 17958 Feb 3, 2001, 6:33 PM
Post Re: Auto Generate Form Fields
pugdog 17022 Feb 4, 2001, 11:52 PM
Thread Re: Auto Generate Form Fields
Alex 17152 Feb 5, 2001, 3:04 PM
Thread Re: Auto Generate Form Fields
sangiro 17181 Feb 6, 2001, 8:59 PM
Post Re: Auto Generate Form Fields
yanzi 17059 Feb 10, 2001, 10:48 PM
Thread Re: Auto Generate Form Fields
sangiro 17145 Feb 11, 2001, 7:14 PM
Thread Re: Auto Generate Form Fields
Alex 17120 Feb 12, 2001, 2:41 PM
Thread Re: Auto Generate Form Fields
sangiro 17072 Feb 12, 2001, 3:03 PM
Thread Re: Auto Generate Form Fields
Alex 17617 Feb 17, 2001, 12:02 PM
Thread Re: Auto Generate Form Fields
Sir Up 17099 Feb 17, 2001, 1:05 PM
Post Re: Auto Generate Form Fields
sangiro 16939 Feb 17, 2001, 3:35 PM
Post Re: Auto Generate Form Fields
Sir Up 16966 Feb 19, 2001, 5:58 AM
Post Re: Auto Generate Form Fields
Sir Up 16868 Feb 21, 2001, 5:05 AM
Thread Re: Auto Generate Form Fields
sangiro 16912 Feb 22, 2001, 8:39 PM
Thread Re: Auto Generate Form Fields
Alex 16948 Feb 24, 2001, 8:54 AM
Thread Re: Auto Generate Form Fields
Addy 16930 Mar 1, 2001, 8:41 AM
Thread Re: Auto Generate Form Fields
Alex 16904 Mar 1, 2001, 2:17 PM
Thread Re: Auto Generate Form Fields
Addy 16864 Mar 2, 2001, 8:02 AM
Thread Re: Auto Generate Form Fields
Alex 16886 Mar 2, 2001, 9:20 AM
Thread Re: Auto Generate Form Fields
Addy 17220 Mar 2, 2001, 10:55 AM
Thread Re: Auto Generate Form Fields
Alex 16896 Mar 2, 2001, 11:16 AM
Post Re: Auto Generate Form Fields
Addy 16654 Mar 6, 2001, 5:37 AM
Thread Post deleted by Addy
Addy 12731 Mar 6, 2001, 5:38 AM
Thread Re: Auto Generate Form Fields
Addy 12663 Mar 8, 2001, 8:44 AM
Post Re: Auto Generate Form Fields
Sir Up 12413 Mar 9, 2001, 11:51 AM
Thread Re: Auto Generate Form Fields
Alex 12606 Mar 9, 2001, 1:36 PM
Post Re: Auto Generate Form Fields
Sir Up 12365 Mar 11, 2001, 11:45 AM
Thread Re: [Alex] Auto Generate Form Fields
sangiro 13301 Apr 6, 2003, 5:52 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13268 Apr 7, 2003, 4:14 PM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13287 Apr 7, 2003, 7:06 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13322 Apr 8, 2003, 1:01 AM
Thread Re: [webmaster33] Auto Generate Form Fields
DogTags 13337 Apr 8, 2003, 6:47 AM
Thread Re: [DogTags] Auto Generate Form Fields
webmaster33 13465 Apr 8, 2003, 7:16 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13215 Apr 19, 2003, 6:07 PM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 13159 Apr 20, 2003, 3:53 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13270 Apr 20, 2003, 4:19 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 13229 Apr 20, 2003, 11:17 PM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13251 Apr 21, 2003, 12:29 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13240 Apr 21, 2003, 12:35 AM
Thread Re: [sangiro] Auto Generate Form Fields
webmaster33 13201 Apr 21, 2003, 12:54 AM
Thread Re: [webmaster33] Auto Generate Form Fields
sangiro 13230 Apr 21, 2003, 1:00 AM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 13110 Apr 21, 2003, 1:08 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13253 Apr 21, 2003, 1:45 AM
Post Re: [Paul] Auto Generate Form Fields
pugdog 13084 Apr 21, 2003, 7:35 PM
Post Re: [Paul] Auto Generate Form Fields
sangiro 13156 Apr 21, 2003, 7:53 PM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 13197 Apr 21, 2003, 8:17 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 13183 Apr 21, 2003, 9:54 PM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 13133 Apr 21, 2003, 10:17 PM
Post Re: [sangiro] Auto Generate Form Fields
pugdog 13058 Apr 22, 2003, 2:05 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 13130 Apr 22, 2003, 1:14 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10994 May 13, 2003, 10:12 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 11004 May 14, 2003, 1:02 AM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 10924 May 14, 2003, 10:13 AM
Thread Re: [sangiro] Auto Generate Form Fields
Paul 11008 May 14, 2003, 10:56 AM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10914 May 14, 2003, 11:50 PM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 10844 May 15, 2003, 4:49 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10839 May 15, 2003, 4:58 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10832 May 15, 2003, 6:11 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10976 May 15, 2003, 6:14 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10893 May 15, 2003, 6:30 AM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10953 May 15, 2003, 6:39 AM
Thread Re: [Paul] Auto Generate Form Fields
pugdog 10906 May 15, 2003, 12:27 PM
Thread Re: [pugdog] Auto Generate Form Fields
sangiro 11422 May 17, 2003, 3:24 PM
Post Re: [sangiro] Auto Generate Form Fields
Paul 10817 May 18, 2003, 3:09 AM
Thread Re: [sangiro] Auto Generate Form Fields
pugdog 10954 May 18, 2003, 6:26 PM
Thread Re: [pugdog] Auto Generate Form Fields
Paul 10832 May 18, 2003, 6:36 PM
Post Re: [Paul] Auto Generate Form Fields
sangiro 10724 Oct 26, 2003, 5:47 PM
Thread Re: [Paul] Auto Generate Form Fields
sangiro 10947 May 14, 2003, 11:59 PM
Post Re: [sangiro] Auto Generate Form Fields
Paul 10853 May 15, 2003, 1:32 AM
Post Re: [sangiro] Auto Generate Form Fields
webmaster33 10931 May 14, 2003, 1:03 AM
Thread Re: [DogTags] Auto Generate Form Fields
Paul 13244 Apr 8, 2003, 7:32 AM
Post Re: [Paul] Auto Generate Form Fields
DogTags 13214 Apr 8, 2003, 8:08 PM
Thread Re: Auto Generate Form Fields
Paul 12530 Mar 9, 2001, 12:56 PM
Post Re: Auto Generate Form Fields
Addy 12512 Mar 9, 2001, 3:26 PM
Post Re: [Alex] Auto Generate Form Fields
sangiro 11880 Sep 30, 2002, 9:49 AM
Post Re: Auto Generate Form Fields
kimroan 16939 Feb 12, 2001, 6:11 PM
Post Re: Auto Generate Form Fields
sangiro 16967 Feb 16, 2001, 4:23 PM
Post Re: Auto Generate Form Fields
Sir Up 16994 Feb 17, 2001, 1:36 AM
Thread Re: Auto Generate Form Fields
DogTags 12455 Sep 3, 2001, 8:10 PM
Thread Re: Auto Generate Form Fields
Alex 12436 Sep 4, 2001, 1:02 PM
Thread Re: Auto Generate Form Fields
DogTags 12508 Sep 5, 2001, 10:19 AM
Post Re: Auto Generate Form Fields
Alex 12231 Sep 5, 2001, 11:42 AM
Thread Re: [Alex] Auto Generate Form Fields
DogTags 12223 Nov 18, 2001, 5:14 AM
Post Re: [DogTags] Auto Generate Form Fields
DogTags 12168 Nov 27, 2001, 10:56 PM
Thread Re: [DogTags] Auto Generate Form Fields
brewt 12314 Nov 27, 2001, 11:02 PM
Thread Re: [brewt] Auto Generate Form Fields
DogTags 12270 Nov 28, 2001, 6:34 AM
Thread Re: [DogTags] Auto Generate Form Fields
Paul 12214 Nov 28, 2001, 7:16 AM
Post Re: [PaulW] Auto Generate Form Fields
DogTags 12131 Nov 28, 2001, 11:21 AM
Post Re: [Alex] Auto Generate Form Fields
Sir Up 12043 Jan 10, 2002, 1:31 PM
Thread Re: [sangiro] Auto Generate Form Fields
DogTags 12128 Jul 11, 2002, 1:39 PM
Thread Re: [DogTags] Auto Generate Form Fields
Aki 12038 Jul 11, 2002, 4:12 PM
Thread Re: [Aki] Auto Generate Form Fields
DogTags 12072 Jul 12, 2002, 7:56 AM
Thread Re: [DogTags] Auto Generate Form Fields
Aki 12054 Jul 12, 2002, 9:45 AM
Post Re: [Aki] Auto Generate Form Fields
DogTags 11948 Jul 12, 2002, 9:09 PM
Post Re: [Aki] Auto Generate Form Fields
DogTags 11946 Jul 12, 2002, 10:39 PM