Content Forms
Hi,
For the new content forms, I was wondering if there is anyway to prepopulate information in a say a "hidden field" for example userid before submitting it for a response?
Kind Regards,
Josh
Hi Josh ,
In the latest internal build we implemented the following events for FormsControl
* FieldValidation - cancelable, event fired when a form control is being validated - developers can cancel the whole validation, or use their own validation logic. They should set the Validated property to true and the IsValid properties.
* BeforeFormSave - cancelable, event fired before the data of the form is saved.
* BeforeFormAction - cancelable, event fired after the form data is saved but before the form action is fired - like redirect to another page or display a message. Developers can use this event for intercepting the process and have their own notification logic.
* FormSaved - event raised after the form data is saved.
All the best,
Ivan Dimitrov
the Telerik team