1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Content Forms

Content Forms

2 posts, 0 answered
  1. Josh
    Josh  avatar
    25 posts
    Registered:
    28 Apr 2009
    17 Feb 2011
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    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