Jump to content

Salutation for missing fields


rpaterick

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...