Gossamer Forum
Home : Products : Gossamer Links : Discussions :

substraction of two fields in a template

Quote Reply
substraction of two fields in a template
Hi,

I have field1 and field2 in my table link
In the detailed.html file I would to display the value field1 - field2
I have tried <%field1 - field2%> and it does not work.

What would be the corect syntax?

Thanks for your answers.

Vercyb
Quote Reply
Re: [vercyb] substraction of two fields in a template In reply to
Try <%$field1 - $field2%>

Adrian
Quote Reply
Re: [brewt] substraction of two fields in a template In reply to
Thanks....

In Reply To:
Try <%$field1 - $field2%>