rpaterick Posted April 9, 2009 Share Posted April 9, 2009 First off, I don't know Javascript, so I'll try to do my best in explaining. Two column headers I'm dealing with. Full Name and business. I want it to just default to "Full Name," even if there is a business in the cell. So if there is no Full Name is defaults to business. If no Full Name or business, it defaults to say Current Resident. Right now I have: if(Field("Full Name") =="") return Field("business") else if(Field("business") =="") return Field("Full Name") else If (Field( "Full Name" )+ Field("business" )== "") return "Current Resident" Thanks for any direction or code correction! Ryan Link to comment Share on other sites More sharing options...
Dan Korn Posted April 9, 2009 Share Posted April 9, 2009 return Field("Full Name") || Field("business") || "Current Resident"; Link to comment Share on other sites More sharing options...
rpaterick Posted April 9, 2009 Author Share Posted April 9, 2009 return Field("Full Name") || Field("business") || "Current Resident"; Thanks for your help Dan! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.