You need to sign in to do that
Don't have an account?
ckellie
How do I change this Javascript function?
I have found javascript function that saves the visualforce page:
<script type='text/javascript'> function noenter(ev) { if (window.event && window.event.keyCode == 13 || ev.which == 13) { doSearchAF(); return false; } else { return true; } } </script>
Field functionality:
<apex:inputfield value="{!PCN__c.Account__c}" label="Customer Name" required="true" onkeypress="return noenter(event);" styleclass="searchStr" />
How do I change the javascriptt from saving the record to advancing the cursor from one field to the next field?
Thank you
I am giving one example using standard object Account.
All Answers
I am giving one example using standard object Account.