Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • asim 16 posts 36 karma points
    May 10, 2011 @ 13:25
    asim
    0

    layout of contour form

    Hello guys

    i want to create a contact us form using contour. but how can i make a cancel button which clears all the text fields in form. and on submit all the data store in sql server database.

    any help will be highly appreciated

    thanks

    Asim

  • Tim 1193 posts 2655 karma points c-trib
    May 11, 2011 @ 17:27
    Tim
    0

    Hi Asim,

    The form data is stored in the umbraco sql database by default. If you want to store the form data in another sql database, you need to look into custom workflows, as you can write on eof these for your form to make it save somewhere else on submission.

    As far as I know there's no way to add a reset button out of the box, but it should be relatively simple to inject a html reset button using JQuery or similar if you wanted to.

    For the workflows, check out the developer docs: http://our.umbraco.org/FileDownload?id=1222 and the shard source: http://our.umbraco.org/projects/developer-tools/umbraco-contour-shared-source which has the source of the built in workflows.

    :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies