Home Forums General XMetaL Discussion Adding Additional functionality into Xmetal Validator/F9 Reply To: Adding Additional functionality into Xmetal Validator/F9

Derek Read

Reply to: Adding Additional functionality into Xmetal Validator/F9

The Journalist sample will explain everything you need to know, including which events to use and how to inject messages into the Validation Log. You'll need to come up with your own validation logic to match your specific rules but the framework is there.

Open the journalist.mcr and search for these events:

On_Check_Element_SimpleContent
On_Check_Attribute_Value

To see this in action:
1. Open the “Cameras in Focus (Journalist)” demo in Help > Samples.
2. In the XFT form at the top of the document enter an invalid email address (such as “asdf”). Press F9 to validate.
3. Select one of the images and, using the Attribute Inspector, add a space into the FileRef attribute. Press F9 to validate.

Reply

Products
Downloads
Support