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?
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.
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
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
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
HI Ismail,
Yes, the radio is comming from a datatype.
I'll continue to look at the forum. Thanks
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
Ismail,
Thank you so much. Exactly what I was looking for!
I'll take a look, thanks
is working on a reply...