Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#813473
When you put this in the template's rich text editor:
Code: Select all
https://@=ticket_id_link
The template editor will automatically recognize it as a URL and transforms it into this HTML code:
Code: Select all
<p><a href="https://=ticket_id_link">https://@=ticket_id_link</a></p> 
You can fix this by editing the HTML code and changing it to:
Code: Select all
<p><a href="https://@=ticket_id_link">https://@=ticket_id_link</a></p> 
You can also prevent this problem by putting the protocol in your variable. If you set the variable in the trigger like this:
Code: Select all
@@ticket_id_link = "https://example.com/extra/info"; 
Then you can use this HTML in the template:
Code: Select all
<p><a href="@=ticket_id_link">@=ticket_id_link</a></p> 
#813500
I now see the problem that your are describing. When the form is saved, it changes the HTML code.

To get around it, I used this trigger code:
Code: Select all
@@ticket_id_link = '<a href="https://myexample/extra/info">Extra Info</a>'; 
Then I used this in my template:
Code: Select all
For more, see: @=ticket_id_link
Please register a bug report about this at http://bugs.processmaker.com

Are you looking for incredible savings on your nex[…]

Are you looking for incredible savings on your nex[…]

Are you looking for incredible savings on your nex[…]

Are you looking for incredible savings on your nex[…]