Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Ran
  2. Form2Content Lite & Pro
  3. Thursday, 25 October 2018
  4.  Subscribe via email
I would like yo calculate the SUM lf two numeric fields, I have tride using smarty math but with no results. Any solution for that?
Responses (1)
Accepted Answer Pending Moderation
Good morning Ran,

Good question, my first suggestion would be Smarty. Second would be JS or PHP which you can add to your template. Only problem is that I'm not a programmer.

With Smarty Math ( I see the issue is defining the variables. They also suggest to use PHP (for performance). I will see if Julien or someone else has a suggestion.

UPDATE: Smarty3 docs.

Does this work? {$foo*$bar} => {$YOUR_FIELD1+$YOUR_FIELD2}

Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 1
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.