You need to sign in to do that
Don't have an account?
meghana kollu
Display list with combinations in visual force page before saving record
I have a requirement, Suppose in visual force page there is a text field has a,b,c,d values on field blur, display these values as rows like A-B,B-C,C-D,D-A before saving the record
You can call Apex-side code from Javascript in a Visualforce page to meet this requirement.
There are 2 options:
1. Using apex:actionFunction:
- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionFunction.htm
2. Using Javascript Remoting:Either option would see you attach an onblur listener to the text box to call the Apex controller and pass the value of the box. The rest you should be able to take care of on the controller side.
Thanks,
Nagendra