abhishek jain wrote:
That problem is solved , i have yet another one,
In my form definition i am writing the following:
name: search
method: post
fields:
dom:
label: Dom
type: text
size: 30
required: 1
ext:
label: Ext
type: select
required: 1
fieldopts:
ext:
options:
id1
val1
id2
val2
I need a select option box with the id1 and id2 as option and
val1 and val2 as values.
I am not sure how to do so,
Also where to get help if the next problem arises,
Pl. help.
--
Thanks and kind Regards,
Abhishek jain
Someone pl. reply,
Thank,
abhi
------------------------------------------------------------------------
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
For example I do something like this for a radio button
lang_publish:
label: Publish
options: Y=Yes, N=No
value: N
required: 1
For a select like you want it should be
lang_publish:
label: Publish
options: Y=Yes,N=No
type: select
required: 1
also youcan add the multiple attribute to specify if more than one can
be selected
Hope this helps
Regards,
Giancarlo Corcuera
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/