Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 13:59
    Ismail Mayat
    0

    Prevalue Umbraco documents issue

    I have created a bunch of prevalue sources in contour 1.1 of type Umbraco documents. I have things like Age range, Event type, Hotel location. When the form renders on front end all is fine I see the node names of the documents which is what i want so far example for hotel location i have

    City Centre

    Beach

    Resort

    The issue i have is that when the form is submitted for the following items instead of seeing the node name i see node ids 

    Email that is sent out

    In the backend view the submitted record

    Exported records

    Is there a way of using the node name instead of the id.

    Regards

    Ismail

     

  • Comment author was deleted

    Aug 26, 2010 @ 14:11

    Hi Ismail,

    What is the fieldtype the prevalue source is linked to, just tried it with a dropdown and that gives the name

  • Comment author was deleted

    Aug 26, 2010 @ 14:19

    Also works as expected with radiobuttonlist and checkboxlist

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 14:54
    Ismail Mayat
    0

    Tim,

    If you use this on single step form with dropdown it works (not tried other types yet) however on multistep form sometimes it works just on one drop down field and soemetimes it doesnt.  I have a mix of dropdown and checkbox.  I think issue is when you run in multi form setup. Also i am using standard renderform control just to rule out my mutli step hack i get same issue.

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 15:00
    Ismail Mayat
    0

    Tim,

    Just tried checkbox on single step form and it works fine. Gotta be multistep.

    Regards

    Ismail

  • Comment author was deleted

    Aug 26, 2010 @ 15:11

    Thanks for the details Ismail, will try to reproduce

  • Comment author was deleted

    Aug 26, 2010 @ 17:13

    Ok have been able to reproduce, seems it's quite random.

    Create multistep form with fields linked to prevalue sources, when I submit and check in the entries viewer most of them show the caption but some show the id

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 17:16
    Ismail Mayat
    0

    Tim,

    Yup thats what im getting seems sometimes first one renders then next time last one renders but glad its not just me.

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 17:17
    Ismail Mayat
    0

    Thinking about i guess when multi stepping things are saved to cookie? Could that be the issue ?

    Regards

    Ismail

  • Comment author was deleted

    Aug 26, 2010 @ 17:53

    Nah nothing todo with cookies, found and fixed the issue, just going to test it now

  • Comment author was deleted

    Aug 26, 2010 @ 18:12

    If you download the lastest _update zip here: http://nightly.umbraco.org/Umbraco%20Contour/1.1.3%20WIP/

    And simply replace the Umbraco.Forms.Core.dll it should fix the issue

Please Sign in or register to post replies

Write your reply to:

Draft