Home › Forums › General XMetaL Discussion › Adding Additional functionality into Xmetal Validator/F9 › Reply To: Adding Additional functionality into Xmetal Validator/F9
Reply to: Adding Additional functionality into Xmetal Validator/F9February 18, 2013 at 7:10 pm
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:
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.