Page 1 of 1

Apply Property Required

Posted: Fri Jan 16, 2015 9:29 am
by negley
I am having some issues trying to apply the Required property to a textbox. I have the event launched when i select a value from a dropdown box, it makes a new field required.

applyProperty('s1InvoiceN', 'required', 'true');

Re: Apply Property Required

Posted: Sun Jan 18, 2015 3:15 am
by Alex
Unfortunately, at this time, it is not possible to dynamically set the "required" property using the applyProperty() API. Currently, this property is only processed at render time.

However, we have plans to improve applyProperty() to allow for this in a future release of Profound UI.

Re: Apply Property Required

Posted: Sun Jan 18, 2015 6:58 pm
by Alex
I can confirm that this fix will be available in the next release of Profound UI. But if you need the fix prior to that, you may contact support@profoundlogic.com to request a patch in the meantime.