I use the Progress DetailForm Wizard as a template for a form, but I want to change the name of the buttons to Norwegian.
I want to change the name of the submit button to "Lagre", but send the value="Submit" when the form is processed. This is my code:
<input type="hidden" name="MaintOption" >
<input type="button" value="Lagre"
onClick="this.form.MaintOption.value='Submit'; this.form.Submit(); ">
However, it does not work, the form is not Submitted.
If I do it the standard Progress way it works fine, but then the name of the button is "Submit" and I want it to be "Lagre":
This works fine:
<input type="Submit" name="MaintOption" value="Submit">
Is ther anyone that can see what I am doing wrong here ?
Regards,
Rolf Arne Haugen
Programmer/Consultant
Chemistry Consulting,
Kjeller, Norway
I want to change the name of the submit button to "Lagre", but send the value="Submit" when the form is processed. This is my code:
<input type="hidden" name="MaintOption" >
<input type="button" value="Lagre"
onClick="this.form.MaintOption.value='Submit'; this.form.Submit(); ">
However, it does not work, the form is not Submitted.
If I do it the standard Progress way it works fine, but then the name of the button is "Submit" and I want it to be "Lagre":
This works fine:
<input type="Submit" name="MaintOption" value="Submit">
Is ther anyone that can see what I am doing wrong here ?
Regards,
Rolf Arne Haugen
Programmer/Consultant
Chemistry Consulting,
Kjeller, Norway