Hi everyone,
I am trying to generate some URLs based on the multi select values from a confiform.
Through some online search, I figured that I can use velocity template to use some calculations or manipulations to the values.
Confiform Multiselect Field values: [XYZABC-123, XYZABC456, XYZABC-789]
(id and value are both same)
$set( $issueList = [entry.issueList] )
URLs I am trying to generate through the below velocity logic:
#foreach( $issueID in $issueList ) https://<domainname>/issue/$issueID #end
Can you tell me what is wrong here? In the email when I receive it, there is nothing generate for the parts where the velocity code is written.
Regards,
Rohit
I don't think you need the #set. I think that is clearing out the Velocity variable. I think you would want to just do this.
#foreach( $issueID in $issueList )
https://<domainname>/issue/$issueID
#end
Here is some documentation for this.
issueList in '[entry.issueList]' is the name in the confiform field definition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.