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

Forums / Developing with Sitefinity / Form Submit button - confirm submit

Form Submit button - confirm submit

2 posts, 0 answered
  1. Jeremy
    Jeremy avatar
    37 posts
    Registered:
    17 Jan 2011
    14 Sep 2013
    Link to this post

    I've created a Form using the Forms builder tool under the Content menu. My client wants a confirmation message to appear when the user clicks the Submit button.

    1. User clicks Submit button
    2. User gets Confirm dialog "Have you printed this page yet? If not, please Cancel and print this page. "
    3. User click Ok or Cancel
      1. Ok = Form submits
      2. Cancel = Form does not submit

    I've tried setting up the OnClientClick property of the Submit widget, but it doesn't do anything.  Anyone have any suggestions?

    Thanks,
    Jeremy

  2. Ivaylo Angelov
    Ivaylo Angelov avatar
    68 posts
    Registered:
    27 Oct 2016
    16 Sep 2013
    Link to this post
    Hello Jeremy,

    Thank you for contacting us!

    You can design and implement a custom form field control on your own.
    This way you will have the power to extend the form functionality the way you like
    and this includes custom JavaScript, dialogs handling, etc.
    You can use this article in our documentation as a reference.

    I hope this information helps!

    Regards,
    Ivaylo Angelov
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered