Home › Forums › General XMetaL Discussion › Customization object? How can I use a form? › Reply To: Customization object? How can I use a form?
Reply to: Customization object? How can I use a form?April 25, 2019 at 8:49 pm
Have a look at the topic “Associate a form with a customization object”.
That discusses how to add added to the CTM file that tell XMetaL Author which form to associate with which element, whether it is embedded or to be launched as a modal dialog and various other settings.
You can also launch a form using an API but the most common method (if you need to associate the form with an element) is to make the associations with the CTM file. The topic “Executing a form as a modal dialog in XMetaL” discusses that and provides the simplest example of launching an XFT as a modal form from script.
The topic “Sample forms” lists the forms provided with the Journalist with brief descriptions (fully understanding what each does is best done by using the Journalist sample and examining it's MCR, CTM and XFT files). Hard to say which one would be nearest to what you want to do.