Copied to clipboard

Flag this post as spam?

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


  • Amir Khan 1199 posts 2567 karma points
    Jan 20, 2014 @ 21:22
    Amir Khan
    0

    Default value in prevalue

    Is there a way to set a default value on a dropdown with a prevalue set?

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Jan 20, 2014 @ 22:15
    Dennis Aaen
    0

    Hi Amir,

    Way you do it, is by write the value in the default value field. So if you have a prevalue called Option1 then just add Option1 in the default value.

    I have made screenshot, so it easier to understand.

    I have added some test prevalue data like this:

    To set the default value on a dropdown:

    On the site it looks like this when I preview the form i Contour:

    I hope this will work for you too, on the Contour version you´re using. I have tested it on a version 3.0.18

    /Dennis

  • Amir Khan 1199 posts 2567 karma points
    Jan 20, 2014 @ 23:13
    Amir Khan
    0

    Hi Dennis, this works fine when you add the values directly to the field, but with using an external datasource for prevalues.

     

    -Amir

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Jan 20, 2014 @ 23:37
    Dennis Aaen
    1

    Hi Amir,

    I was thinking could this at any help maybe? http://www.nibble.be/?p=84 or http://www.nibble.be/?cat=29

    There are also a link to the Contour developer documentation pdf, even I know is not updated since 2011.

    /Dennis

  • Fuji Kusaka 2203 posts 4220 karma points
    Jan 21, 2014 @ 05:43
    Fuji Kusaka
    0

    Hi Amir,

    Actually the first url @Dennis posted should work. I have this set up on some of my website using contour.

    This is a pretty nice feature and working with 3.0.12 pretty much the same as older version but if am not mistaken it has been improved.

    For me I have SQL Database and Values from Textfile working.

     

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 21, 2014 @ 09:14
    Tim Geyssens
    0

    Yeah should work the same so just set the default value

  • 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