Conditional Logic in Writer

We make custom wooden serving trays. Some of the trays are customized with the customer’s name. If a customer selects a serving tray that requires additional information, such as a first name, from the Checkbox list, is there a way to then require them to enter the additional name information? In other words, if a given Checkbox has been selected, how can I ensure that the customer does not leave the Name text box blank? Can conditional logic test based on whether or not a Checkbox has been checked?

Yes. But the first question would be: Can you use conditional logic for your use-case? Or: Will your customers use Writer to fill the form you create?
.
I suspect you try to create a pdf-form. While thede can be created with Writer, they are filled using other software ( - therefore portability). Writers macros can then not used.
.
There are ways to add validity-checks and more to pdf-forms. But usually this requires javascript-macros. One of the resulting problems is: Not all pdf-readers execute them. A lit of security-concerned people use readers without activated or possible scripting. They would just ignore the scripts. Another issue is: You may create the forms with Writer, but there is no support to embedd scripts in pdf.

to make sure : #more-details


otherwise, AI says :