Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

dynamic radio button creation



6:00 am on Mar 11, 2013 (gmt 0)

<select name="form[]" id="datatype" >
<option value="select">Select Here</option>
<option value="1">text</option>
<option value="2">password</option>
<option value="3">email</option>
<option value="4" >textarea</option>
<option value="5" >radiobutton</option>

I have created all types dynamically.Now i want to create radiobuttons dynamically with php.I am inserting the values and retrieving to display the form created by the user like this:

<?php if($fetch['identify']==1)
$fetch['label_name']; ?> <input type='text' name="info[]" required='required' placeholder="<?php echo $fetch['value'];?>"/>
<?php } />

So in this way how to add radiobuttons..plz help me

Featured Threads

Hot Threads This Week

Hot Threads This Month