I have a form that users enter Details into, the issue is i need the text to be in a set format for reporting, At the moment different users use different acronyms for the same word, EG: Brown = brn or bro
What i have at the moment is
IF Field A contains brn
Set Field A Value to
concat(substring-before(., "brn"), "Brown", substring-after(., "brn"))
Entered in Field A = Big brn House output changes to Big Brown House
The above works well until i want to add several rule with the same output, so if someone enteres brn or bro or Brn or Bro output would be Brown
Or is there a way to make the field do this by looking up a list on a sharepoint site.
Sharepoint list would have 2 columns
Column 1 = Acronym (brn)
Column 2 = Full Version (Brown)
Acronym Output
brn Brown
Brn Brown
Yell Yellow
Yel Yellow
Hope i have made this clear, hard to explain ( I would prefer not to use the Sharepoint list as my form already has a head of data connections and is slow enough for my users)