Copied to clipboard

Flag this post as spam?

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


  • Søren Reinke 158 posts 206 karma points c-trib
    Jan 21, 2011 @ 14:46
    Søren Reinke
    0

    Prefill fields in a Contour form

    Hi there

     

    I have made a IT equipment requisition form in Contour.

    I have made a usercontrol that show the most ordered items. Not i would like to make a system where the user can click a 'Order' button next to an item, and the Contour form is opened, with the fields prefilled.

    How can i do this?

  • Comment author was deleted

    Jan 21, 2011 @ 14:48

    Hi Soren,

    You can just pass these in the querystring and use the default property on the fields, there should be a video about that, but can't find it atm

     

  • Søren Reinke 158 posts 206 karma points c-trib
    Jan 21, 2011 @ 14:52
    Søren Reinke
    0

    You are the best, thanks a lot.

    I'll test it at once, and get my boss to pay for access to the video section.

  • Comment author was deleted

    Jan 21, 2011 @ 14:54

    you can use the same syntax in the default value property as you do with macro params

    So setting it to

     [@requestValueKey]

    Should do the trick

  • Søren Reinke 158 posts 206 karma points c-trib
    Jan 21, 2011 @ 14:57
    Søren Reinke
    0

    'default value' ?

    For a Textarea, i only have:

    Caption
    Type
    Mandatory
    Regex
    Invalid Error Message
    Tooltip
    Required Error Message

    no Default Value field, am i missing something ?

     

    Got it :)

    Ahh there is a newer version :)

  • Comment author was deleted

    Jan 21, 2011 @ 15:01

    Yeah guess you are running  v 1.0.x , default value was added in 1.1

  • Søren Reinke 158 posts 206 karma points c-trib
    Jan 21, 2011 @ 15:04
    Søren Reinke
    0

    Thanks a lot for your help.

     

    I'll install the newest version on monday, doing it late on friday is often a bad idea ;-)

     

     

    Would you mind having a look at:
    http://our.umbraco.org/forum/umbraco-pro/contour/16481-Linefeed-in-ToolTip
    To see if there is an easy solution to this as well?

Please Sign in or register to post replies

Write your reply to:

Draft