I am trying to build a script to verify certain fields. What I am having trouble with is that this field is sometimes populated and sometimes blank. I need the script to verify when the field is populated and skip it if its blank. I know the If function can be used, but i am not sure exactly how. Any suggestions?
Perhaps something like this : if field~='' then <action to take if field is not empty> else <action to take if field is empty> end The "if" clause must be followed by "then" and closed with "end". In case you want to test equality, don't forget to have a double "=" (e.g. if value1==value2 then ... end)