Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Showing the field label in Bizform notification email View modes: 
User avatar
Member
Member
grujer - 1/18/2013 4:36:53 PM
   
Showing the field label in Bizform notification email
Hi,

I am trying to create a bizform email notification that not only shows the value of the field, but also the label associated with the choice the user made.

Multiple Choice Example:

Color
1;Red
2;Blue
3;green

The notification email I get says:
Color 2

And I need it to say:
Color Red


Can you please advise on how I should format the notification email custom template to show the label of the value the user selected instead?

Thanks,
Jeremy

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/19/2013 1:52:56 AM
   
RE:Showing the field label in Bizform notification email
Hi,

Have you tried using the value;name pair like this:

Red;Red
Blue;Blue
Green;Green

Best regards,
Juraj Ondrus

User avatar
Member
Member
grujer - 1/21/2013 2:32:32 PM
   
RE:Showing the field label in Bizform notification email
Thanks for the tip - it worked. You may want to bring this up to the documentation team, the only example given is using 1;value which led me to believe this was the only option.

Jeremy

User avatar
Member
Member
grujer - 1/21/2013 4:16:52 PM
   
RE:Showing the field label in Bizform notification email
OK Pt.2 of this question

When I output the form with multiple choices selected, how can I get the file to put them in a vertical output instead of all mashed together horizontally?

What I get:
P10,145989|P20,151434|B10,151436|B05,151440|

What I want:
P10,145989
P20,151434
B10,151436
B05,151440

I would like to get rid of the | between records and put each value on a separate line.

Thanks again!
Jeremy


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/22/2013 2:02:43 AM
   
RE:Showing the field label in Bizform notification email
Hi,

This is the value stored in the DB - so as it is, it is being pulled out of the DB. So you need to create e.g. a custom macro or function that will parse this value or, create custom form control that will save the value in the way you want.

Best regards,
Juraj Ondrus