MikeVM Posted February 12, 2009 Share Posted February 12, 2009 Need somebody to help me to write a rule: there are two text field (one them drop-down menu, second is multiline text.) Customer should select from drop-down menu OR fill multiline text OR both. Both fields cannot be empty - in that case client should receive kind of Error warning when he click "Refresh for preview". thanks in advance. (we use FP Designer version) Link to comment Share on other sites More sharing options...
Dan Korn Posted February 12, 2009 Share Posted February 12, 2009 I would make a rule like so: if (Field("MyDropDownFieldName") || Field("MyMultiLineTextFieldName")) return ""; //else return "Both the drop-down menu and multiline text fields cannot be empty!" Then I would put a text frame in the center of the page, and insert the variable with the name of the rule in big red text. When the preview is composed, the error message should be immediately obvious to the end user. Link to comment Share on other sites More sharing options...
MikeVM Posted February 12, 2009 Author Share Posted February 12, 2009 Thanks Dan, this worked perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.