Re: [NH] code for form
- Hi Lotta:
you should be able to use any of the normal form tags inside your
form here is a sample of my cartmanager software .... the way set
your options are between the Pipe | symbol so the
first |customer|discription|price| etc etc ... what goes between
the pipes might vary for each
cart system but my guess is they are probably all using a canned
cgi .... for processing forms. it looks very similar to my first
cart which was free ...
here is an example from my shopping cart system ....
<input type=hidden name=AddItem
value="customer number|Nylon Landyards
<input type=text name=VARQuantity size=4 value="1">
We now have online interactive chat on our web site .... !
Border Collies N Stuff
- Hi Mette,
> Heisan Lotta! and hello Bill and Stephen!I have not done CGI either, but I went to the Qcart web page.
> I have been reading those CGI scripts up and down since I never saw a CGI
> script in my life before. I finally got it to work somehow.
> I bought this.
> package, and found out that the 24 hour support did not include anything on
> how to do this code. That belongs to Premium support department @ $100 or
> per hour. I don't remember, and I can't afford either.
> The rest of my multipleI see what you are doing now with the variable names above. They are located
> choice menus are all linked together in this way, the first pull down menu
> reflects the variable VARFrill1 from the form:
> <select name="VARFrill1">
> <option value="Number of letters:1<br><li>VARFrill2">1</option>
> <option value="Number of letters:2<br><li>VARFrill2">2</option>
> <select name="VARFrill2">
> <option value="Text style:Block<br><li>Varfrill3">Block</option>
> <option value="Text style:Outline<br><li>Varfrill3">Outline</option>
> <select name="VARFrill3">
> <option value="Mat color: Red<br><li>VARFrill4">Red</option>
inside quote marks and that makes it acceptable. I suspect it might be better
using the character references, e.g. "Mat color: Red<br><li>. . ." but if
it works, don't break it.
>According to how I understand Qcart's page, they do not want you to use text
> Stephen how do I find out if the cgi script allow the text box in the middle
> of the form full of multiple choice drop down menus? Thanks for your advice
> and I am happy I found the right list. I was sending it to the clip group
> first, not realizing there were 2 different e-mails.
They have sample html code, and it is all for drop down lists.
You, if you know what you are doing, could probably re-write the form to make
work, but you would need to have a validator, that is some kind of script to
make sure that what the customer enters is something you actually sell. For
instance instead of "Mat color:Red", if you did not have some kind of validation
system, the customer might make up a color: "Mat color:Burgandy and Pink Plaid".
Apparently, though, you can have any number of forms on your page linking to
Qcart. I could not figure out their pricing scheme, and the html coding of
numerous choices for a catalogue is pretty tedious, but breaking down the
choices into discrete option lists is probably a good idea.
order for you and sends that to Qcart, but I am not quite sure if that would
save you time and am not sure (without a lot of hard thinking) on where or how
you would begin to do it.
You might have the customer fill out two forms, one to be sent to Qcart, and one
to you. The one to you containing specific order information filled out with a
text box (making sure you can phone, e-mail or write the customer to clear up
any confusion, and the other going to Qcart with billing information.
Face to Face stores do this, sending one set of information to accounting
departments, and another set to the folks who actually get the goods to whomever
I hope this helps.
- Hi all,
Mette, I reread your first post and am wondering if you are asking if you
can mix option fields and text fields on your WEB PAGE? That you can do. As
Stephen said, the only elements SELECT can contain are OPTION and OPTGROUP.
But you can mix the fields on the page by closing the Select Element before
putting a text field in.
Something like the following is perfectly OK. If your script can handle the
free user input is another matter and above me.
And so on...Well, at least we are trying :)