1 Reply Latest reply on Jul 11, 2012 3:39 PM by danchapmanme

    Validating pathfield


      I am using a pathfield in a dialog to be able to select a image from the DAM. I want to validate the input, it must be required and the image extension should be a gif, jpg, png.


      I have added allowBlank=false property which prevents the field from being empty. I thought I could use the regex property to limit what images are allowed using a regular expression (see below), but this doesn't work.