Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
NRS scripts, need to modify a string....
Jime0726
hello,
I have a NRS script to see if the description in the save as dialog starts with a "(". I need to modify it to see if it starts with a "(" or "E-mail".
This is what I have so far....
If (InStr(1,Trim(dlg.GetAttributeByID(nrDescription)) , "(", 1) = 1) then
dlg.SetAttributeValueByID nrDescription, " ", True
end if
can an OR be added?
Find more posts tagged with
Comments
Jime0726
i got it...
If (InStr(1,dlg.GetAttributeByID(nrDescription), "(", 1) =1 Or InStr(1,dlg.GetAttributeByID(nrDescription), "E-mail", 1) = 1) then
thanks