RE: [PHP] how to create multiple selects within php

2004-10-18 Thread bruce
om: Silvio Porcellana [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 7:44 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] how to create multiple selects within php You can do something like this: - - choose one - - fff aaa . and then in your PHP: Anyway, you can catch this only *after* t

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread Brian
n though they haven't > been selected > > > > thanks > > -bruce > > -----Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Monday, October 18, 2004 7:31 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] how to create multipl

RE: [PHP] how to create multiple selects within php

2004-10-18 Thread bruce
tems, even though they haven't been selected thanks -bruce -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 7:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] how to create multiple selects within php bruce wrote: > ok... > &g

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread Silvio Porcellana
You can do something like this: - - choose one - - fff aaa . and then in your PHP: Anyway, you can catch this only *after* the form is submitted: in case you want to block the user from submitting the form if the 'foo' select is empty you need to use some javascript:
function chec

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
Please reply to the list. bruce wrote: john.. thanks for the response... but i don't need a multiple select.. what i need are multiple select/menu lists... list1list2 list3 however, the issue i'm really facing is how to detect that a user has actually selected an item in a given list, as

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread Brian
with your code above the first option is going to be the default, so just make the default nothing: then check with: if ( $_GET['foo'] <> 'blank' ) On Mon, 18 Oct 2004 07:22:30 -0700, bruce <[EMAIL PROTECTED]> wrote: > ok... > > it appears to be a case of user err.. the spec seems to state t

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
bruce wrote: ok... it appears to be a case of user err.. the spec seems to state that if the user doesn't select/specify an item, the select should return the 1st item within the list... arrrgggh!! this is what's happening... Not true. If the user doesn't select anything, nothing will be submitte

RE: [PHP] how to create multiple selects within php

2004-10-18 Thread bruce
ok... it appears to be a case of user err.. the spec seems to state that if the user doesn't select/specify an item, the select should return the 1st item within the list... arrrgggh!! this is what's happening... so my question is still, how can i implement some logic that requires the user to ac

Re: [PHP] how to create multiple selects within php

2004-10-18 Thread John Nichel
bruce wrote: hi... i can create a form with a single select by something like: fff aaa however, i need to know how to create a multiple menu/list within a single form. Not sure exactly what you're asking here, but I think this may be it... If you want multiple select, you need your select tag