tommy100
04-18-2007, 11:45 AM
Hi there,
I've built a tax calculator and had a query about saving the data in HTML text boxes.
I have set default values for a text box ... e.g.:
<TR>
<TD>Personal Allowance limit is </TD>
<TD>£<input type=text name=PersAllow size=10 value="5225"></TD>
<TD> taxed @ </TD>
<TD><input type=text size=2 value="0" ></TD><TD>
</TR>
My aim is that is the defult values in the two input fields are changed ... I want them to be saved via a "Save" button
I know how to create a submit button:
<input type=submit Value="Submit Form">
But that does not do it for me
Is there any function that, if activated, could override the values in the input boxes with the newly entered values in the text boxes ??
Thanks
I've built a tax calculator and had a query about saving the data in HTML text boxes.
I have set default values for a text box ... e.g.:
<TR>
<TD>Personal Allowance limit is </TD>
<TD>£<input type=text name=PersAllow size=10 value="5225"></TD>
<TD> taxed @ </TD>
<TD><input type=text size=2 value="0" ></TD><TD>
</TR>
My aim is that is the defult values in the two input fields are changed ... I want them to be saved via a "Save" button
I know how to create a submit button:
<input type=submit Value="Submit Form">
But that does not do it for me
Is there any function that, if activated, could override the values in the input boxes with the newly entered values in the text boxes ??
Thanks