Not sure why this isn't working, but I'm setting a variable in a form:
and updating it from another field:Code:<input type="text" name="total_total" id="total_total" size="15" />
and that works fine. However, when I try to pass that value to the next page, I get errors...Code:<input type="text" name="num_reception" id="num_reception" size="15" value="0" onchange="document.myform.total_reception.value=75*parseInt(this.value);document.myform.total_total.value=75*parseInt(this.value);" />
This works fine...
This gives a "You are not authorized to view this page." error:Code:<input type='hidden' name='pg_total_amount' value="50" />
This gives an error that the value must a number be greater than 0:Code:<input type='hidden' name='pg_total_amount' value="<?php echo $total_total ?>" />
Any ideas how to do this??Code:<input type='hidden' name='pg_total_amount' value='total_total' />
Thanks!!!
Bookmarks