Copied to clipboard

Flag this post as spam?

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


  • javier 59 posts 79 karma points
    Jul 27, 2010 @ 11:23
    javier
    0

    Send text of radiobox and not value

    Hi.

    I'm using Doc2Form to send information to an email. The form has some radiobox options, and when sending the information to the email, it sends the "value" and not the "text" of the radiobox.

    In the "FormMessage"  section of Doc2Form macro inserted in the template, I put [RadioBoxName] 

    Is there a way to change the "value" of the radiobox? Or do I have to insert some code in the template?

     

    Thanks

     

    Javier

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jul 27, 2010 @ 19:28
    Ismail Mayat
    1

    Javier,

    The data of the radio i am assuming its coming from a prevalue list specified in the datatype section? If so i think you need to update the doc2form code so that you get text value using GetPrevalue, think someone has already done this i recall seeing something on forum.

    Regards

     

    Ismail

  • javier 59 posts 79 karma points
    Jul 28, 2010 @ 01:02
    javier
    0

    HI Ismail,

     

    Yes, the radio is comming from a datatype.

    I'll continue to look at the forum. Thanks

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jul 28, 2010 @ 11:10
    Ismail Mayat
    1

    Javier,

    I have a hacked version source is here http://www.box.net/shared/mdddu1cu5g take a look at that to see how i get prevalues you can then update the code of your doc2form

    Regards

    Isamil

  • William L 1 post 21 karma points
    Jul 29, 2010 @ 23:01
    William L
    0

    Ismail,

    Thank you so much. Exactly what I was looking for!

  • javier 59 posts 79 karma points
    Jul 30, 2010 @ 23:51
    javier
    0

    I'll take a look, thanks

Please Sign in or register to post replies

Write your reply to:

Draft