More in this section

Forums / General Discussions / Content Forms

Content Forms

2 posts, 0 answered
  1. Josh
    Josh  avatar
    25 posts
    28 Apr 2009
    17 Feb 2011
    Link to this post

    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,

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    17 Feb 2011
    Link to this post
    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
2 posts, 0 answered