You need to sign in to do that
Don't have an account?
tfoil
A button inside a apex:form problem
Hello,
I have a apex:form with some "apex:inputField" inside it.
I want to click a button that fills some values in those inputFields (using jscript).
Than the user can use another buttom to Save (using apex) those values.
I already made everything. But when i click de jscript buttom, the page blinks the values, than after some secs it disapears.
If I put the jscript button outside the apex:form tag. It works. But i do need it inside, near the inputFields.
Can someone give any help?
I have a apex:form with some "apex:inputField" inside it.
I want to click a button that fills some values in those inputFields (using jscript).
Than the user can use another buttom to Save (using apex) those values.
I already made everything. But when i click de jscript buttom, the page blinks the values, than after some secs it disapears.
If I put the jscript button outside the apex:form tag. It works. But i do need it inside, near the inputFields.
Can someone give any help?
You could make return false; statment from your java script funciton which populates value like below example.
If above does not work then please share your code.
Thanks
Shashikant
All Answers
You could make return false; statment from your java script funciton which populates value like below example.
If above does not work then please share your code.
Thanks
Shashikant