Databasejoin element - form plugin receipt

kinkaz

Member
Hi,

I have a databasejoin element which is set like this :

Join on :
Value : id
Label : myLabel

Rights:
Editable : Nobody
Viewable : Everyone

When the form is submitted, the data is correctly stored. I have in my list the label "myLabel" as I'd like.

But when I want to include this element in a receipt mail, the value of this element is the ID and not the label that I set.

How can I fix this ?

Thanks

kinkaz
 
I think I have seen this a few times before, have you tried adding the _raw suffix to the full element name placeholder?
 
actually the email is grabbing the value submitted? isn't that the correct behaviour?
 
Yes I tried the _raw but I also got the ID.

Actually yes, the value submitted is the id and not the label. But,
1) when the element is editable by the user, the email grabs the label
2) when the element isn't editable, the email grabs the id
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top