Home › Forums › General XMetaL Discussion › ShowEditButtonInAttributeInspector and list of possible values in DTD › Reply To: ShowEditButtonInAttributeInspector and list of possible values in DTD
Reply to: ShowEditButtonInAttributeInspector and list of possible values in DTDJuly 19, 2017 at 7:55 pm
You could use an XFT form and have it appear as a modal dialog when the user clicks on the element. In the XFT you could define any business rules you want that aren't necessarily definable in your schema. I guess that's basically what you are asking for, with the difference being that the trigger for opening the form is not in the Attribute Inspector.
The CTM file's
Note that the last two values are set but don't have any effect when
You could do this with an embedded XFT form as well but that replaces the entire element so if users can enter PCDATA into an element that can make authoring confusing. Also, if there will be many such elements in a document you should not embed XFT forms as that will slow document editing down significantly. Launching them as modal dialogs does not have this limitation.