It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Submitting few elements of a form

Submitting few elements of a form

Postby gamodg on Mon May 04, 2009 3:00 am

Hi

I have a form that has a table.
Like

Code: Select all
th->  Select          IP          SubnetMask          PSTN         

tr->    radio        1.2.3.4     255.0.0.0             Enabled       
tr->    radio        2.3.4.5     255.255.0.0          Disabled     
tr->    radio        2.3.4.6     255.255.0.0          Disabled     
tr->    radio        2.3.4.7     255.255.0.0          Disabled     
tr->    radio        2.3.4.8     255.255.0.0          Disabled     


When I click on submit button I want that the row selected by radio button should only get submitted.
Please suggest me a way to handle this situation.
gamodg
 
Posts: 1
Joined: Sun May 03, 2009 7:06 pm

Re: Submitting few elements of a form

Postby Johnathan on Tue May 05, 2009 6:28 am

Code: Select all
<input type="radio" name="radio" value="12345"/>
<input type="radio" name="radio" value="67890"/>
<input type="submit"/>


Keep the name of all your radio fields the same and what gets submitted is what's in value=""
HTH
Johnathan
1000+ Club
 
Posts: 1207
Joined: Thu May 31, 2007 3:28 pm
Location: Belfast, Northen Ireland


Who is online

Users browsing this forum: No registered users and 6 guests