Ajax question


i have a list of ajax links, in the form of Yes | No with a text input box next to it, i want the user to enter in a value in the input box then click eighter yes or no and submit both the input box value and the link value.

the links are echo CHtml::ajaxLink(‘Yes’,’/site/settings/special/yes/’,array());

how do i get the input value across? do i need to make little forms for each question?




You may create the hidden field in your form and after clicking at the link set the appropriate value to this field

thanks, so i would have to make this a form and submit the values to the url in question?