I figured out how to pass the variables to another form using the following submit piece:
| Code: |
$this->execPieceByName('ff_InitLib');
echo '
<form name="myresubmit" action="/index.php?option=com_facileforms&ff_form=13&ff_page=1&Itemid=8" method="post" name="myresubmit" id="myresubmit">
<input type="hidden" name="Pzip" value="'.htmlentities( ff_getSubmit('pickup_zip') ).'"/>
<input type="hidden" name="Dzip" value="'.htmlentities( ff_getSubmit('delivery_zip') ).'"/>
<input type="hidden" name="Mdate" value="'.htmlentities( ff_getSubmit('moving_date') ).'"/>
<input type="hidden" name="Dtype" value="'.htmlentities( ff_getSubmit('dwelling_type') ).'"/>
</form>
<script>
//alert(document.myresubmit.Pzip.value);
document.myresubmit.submit();
</script>
';
exit;
|
My only remaining issue is that the form is not redirecting to the action url when using Firefox. It works in all other browsers. Any solutions?
