Bluehost.com Web Hosting $6.95

RE: [PHP] Select form dynamic creation.

This is a discussion on RE: [PHP] Select form dynamic creation. within the PHP General forums, part of the PHP Programming Forums category; Yes, that would probably work just as well, but I still am having trouble seeing how to handle things, without ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2003
Jeremy Russell
 
Posts: n/a
Default RE: [PHP] Select form dynamic creation.

Yes, that would probably work just as well, but I still am having
trouble seeing how to handle things, without having 1000 if's.

I now I probably need an array of the list items and then remove the
item from the array when it is selected but that's as far as I've been
able to think it through.

> -----Original Message-----
> From: Marek Kilimajer [mailto:kilimajer@webglobe.sk]
> Sent: Wednesday, September 24, 2003 12:35 PM
> To: Jeremy Russell
> Cc: php-general@lists.php.net
> Subject: Re: [php] Select form dynamic creation.
>
> Have you considered using multiselect?
>
> Jeremy Russell wrote:
> > Hello list,
> >
> > I've spent a little time looking to see if this has been done
> > before, and haven't found it, though I'm certain it has been done.

What
> > I want to do is build a page by first having a selection form. This
> > select statement will have a number of items within it. When a use
> > scrolls and clicks an item I want a text box to popup in place of

the
> > list, with an id of the select item name. I then want a new list to

pop
> > up with all the items except for the one that was last chosen. The

user
> > should be able to select another item and a text box pop up, and so

on
> > and so forth until all items have either been selected or the user

is
> > ready to stop selecting. This is a sort of searching tool and the

lists
> > of items are "attributes" the use can search by. This seems like it
> > could be done, but the way I'm seeing it now it loss like it would
> > require about 1000 "if" statements. Can a php guru shed some light

and
> > point me in the right direction if there is one??
> >
> > Thanks!
> >
> >
> > jrmy
> >

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0