how can i link input boxes on a template

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
talorlik
Forum Newbie
Posts: 6
Joined: Tue Jul 13, 2004 3:54 am

how can i link input boxes on a template

Post by talorlik »

hi all,

i have a table result of a search displayed on the template. at the moment i have a radio box with a unique value for each line but i need all the values in the columns of that line sent when i post the form.

my thought was to make those columns input boxes but how can i link the input boxes to the radio box so that when i click it those value will be sent?

if anyone has any suggestions itll be very appreciated.

cheers,
T.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

An actual example would be helpfull :wink:


If users should not alter the data why do you need to send as part of the form. Surely the ID is the only thing you need ?

Several methods available...
1) Hidden fields containing the values - May involve duplicating data
2) Disabled input fields (with appropriate CSS styling) - Cannot remember which browsers support it.
Post Reply