Jimmyd Posted May 27, 2014 Share Posted May 27, 2014 (edited) I am trying to create a rule the if the "Website" character count is over 18, then do not fill. Then I would need a rule for "OverflowWebsite" character count is over 18, then fill. Or if they could be combined into one; where as: if the "Website" character count is over 18, then fill "OverflowWebsite", else fill "Website". Any ideas? Edited May 27, 2014 by Jimmyd Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted May 27, 2014 Share Posted May 27, 2014 if (Field("Website").length > 18) { return Rule("OverflowWebsite"); // or some other logic here } //else return Field("Website") Although you might want to consider some kind of copyfitting instead. Quote Link to comment Share on other sites More sharing options...
Jimmyd Posted May 27, 2014 Author Share Posted May 27, 2014 You are the one. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.