I am trying to add a function to a page that makes the first letter of a field a capital letter.
The script has to be embedded from with the applications screen designer.
First let me explain the screen designer.
There are 4 boxes to add field level scripting.
eg <input type=button value="Company Information" name=Test onclick="window.open('http://www.dnb.com'
Create Script. This script is run on the server when the screen is being created.
Validate Scripts. This script is run on the server when the user clicks the Save button on the screen.
ErrorStr="please set the priority to Low";
OnChange Script. This script is run on the browser when the field that the script is attached to is changed by the user.
comp_revenue.disabled = 'true';
I have a function included in the custom content as illustrated below, I am just having difficulty attaching the function to the field.
I am not sure whether I include this in the custom content or to one of the fields Create/OnChange/Validate Scripts.
It will make more sense when you look at the following screenshot.