Topic: need other formelements like a radio (Read 1276 times)
Metal slug addict
Posts: 18
132 credits Members referred : 0
« on: Jun 27, 2006, 05:33:13 am »
Is this possible to add radio buttons to update_user_profile for field_1 etc. within the code that builds the form?
« Last Edit: Jun 27, 2006, 07:24:22 am by olaf »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jun 27, 2006, 07:22:49 am »
yes why not a radio button is just another form element. Or is this a request?
« Last Edit: Jun 27, 2006, 07:24:47 am by olaf »
Metal slug addict
Posts: 18
132 credits Members referred : 0
« Reply #2 on: Jun 27, 2006, 03:58:20 pm »
I'd like to be able to add it myself using the functions that you already have. The create_ functions don't have a radio button though so I am just making a static button that gets updated when the rest of the record updates. Is there a ckeaner way to do this?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Jun 27, 2006, 04:23:09 pm »
I created the two function to create the text field and area just as an example.
the problems with radio's is that it's difficult to controle all of them inside one function, f.e. if you have more then x radio's you need a different design etc.
Metal slug addict
Posts: 18
132 credits Members referred : 0
« Reply #4 on: Jun 27, 2006, 04:32:32 pm »
Thanks very much. I'll give it a try now!
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3043