Forums

switch forms after submit

sindroide 19 Nov, 2009
Hi! First I like to thanks for this awesome extension for joomla.
I need to perform multi-page forms but depending on the selected options on radio buttons... it has to redirect to one or other form... I think this is not able with multi-page plugin so i need to add some code to my submit button... adding a switch.. but I don't know how exactly do this...

maybe somewhere in here

"<div class="form_item">
<div class="form_element cf_button">
<input value="Siguiente" name="button_3" type="submit" />
</div>
<div class="cfclear"> </div>
"
but how can i retrieve selected values for some radio buttons??

thanks for advance !!
GreyHead 22 Nov, 2009
Hi sindroide,

You can get the value of any input after submission using the standard Joomla code
<?php
$field_value = JRequest::getVar('field_name', 'default_value', 'post');
?>

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger