Gossamer Forum
Home : Products : Gossamer Links : Discussions :

form names + form values

Quote Reply
form names + form values
What´s the sense of the following field at Properties:Adding Column

Form Names
(Stored in Database)

Actually I just filled the field Form Values, seems to work without using the field Form Names.

Michael

Quote Reply
Re: form names + form values In reply to
The value attribute is useful in the ERROR pages because it carries inputted field values to the ERROR forms.

Regards,

Eliot Lee
Quote Reply
Re: form names + form values In reply to
Ok, but what about Form Names ?

Michael

Quote Reply
Re: form names + form values In reply to
I know form names are useful when you use javascript with your forms, to make sure certain fields are filled in before the form is submited.

Other than that, I'm not sure.

Robert Blackstone
Webmaster of Scato Search
http://www.scato.com
Quote Reply
Re: form names + form values In reply to
Hi,

There are a few issues with the editor that we are currently fixing.

The form_names and form_values are for MULTI-SELECT, CHECKBOX or RADIO buttons only. Those two fields control what is displayed, and what is stored.

For instance if form_values has 'Alex,Jack,Scott,Jason' (one per line), and form_names has '1,2,3,4' (again, one per line), and this was a checkbox form, when you hit add you would see:

MyColumn: [ ] Alex [ ] Jack [ ] Scott [ ] Jason

and you could check any of the fields. When you hit submit, what is saved in the database is either 1,2,3 or 4 depending on what you checked.

Cheers,

Alex

--
Gossamer Threads Inc.