- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Take a look at the attached. The script assumes the name is a three-part string such as Dr. Frank Burns. You can modify it according to your needs.
// form1.page1.dd::exit - (JavaScript, client)
if (this.rawValue != null) {
var doc = this.rawValue;
var i = doc.indexOf(" ");
doc = doc.substring(i+1,doc.length);
this.rawValue = doc.substring(0,doc.indexOf(" "));
}
Steve
SubstringDropdown.pdf
77 KB
Views
Replies
0 Likes
Total Likes