planeboy747
Technical User
I have 2 fields in my form, id= "lname1" and "fname1". The first field is last name and the other is first name.
I would like for the function to concatanate the 2 fields to form one string, like Last Name, First Name (Doe, John E.). The comma needs to be included when concatanated as well as the words need to be set to title case.
What I'm trying to do with these two fields is form a label in another part of the form. I'm thinking I may need to use a <script> tag and use document.write to call a function that will display this in the form (the concatanated lname1 and fname1 fields), but I'm not sure how the function should be written?
Any thoughts?
Thanks
J
I would like for the function to concatanate the 2 fields to form one string, like Last Name, First Name (Doe, John E.). The comma needs to be included when concatanated as well as the words need to be set to title case.
What I'm trying to do with these two fields is form a label in another part of the form. I'm thinking I may need to use a <script> tag and use document.write to call a function that will display this in the form (the concatanated lname1 and fname1 fields), but I'm not sure how the function should be written?
Any thoughts?
Thanks
J