1

Pretty sure this is impossible, but maybe not.

I'm using Summarize type of field with totalCost name. It's calculated with custom value based on lots of fields summed up with JS.

I tried to use {totalCost:label} and {totalCost:value}, but that resulted in empty values. There doesn't seem to be any way to copy it to a hidden input on the last page either. Any other ideas?

1 Answer 1

1

It wasn't that hard to copy it to the hidden input after all. The workaround was to:

  • create hidden input with name e.g. totalCostHidden
  • add this code to custom value calculation of totalCost, after everything is calculated:
document.getElementsByName('ff_nm_totalCostHidden[]')[0].value = value

Then {totalCostHidden:label} and {totalCostHidden:value} can be used in mails.

3
  • Another option would have been to use a "read more" field I believe.
    – Eoin
    Commented Jun 24 at 17:12
  • I don't see a field of that type
    – Destroy666
    Commented Jun 24 at 18:03
  • Whoops sorry I meant a read only field. It's a text field but it's not editible, you could put your calculation in there and the user would be able to see it (depends if it's helpful or not). I can't remember, you might need to tick a box to make it read only. We did this to show people quotes before they submitted. That way the business owner didn't get any quotes from people who were nowhere near his target price.
    – Eoin
    Commented Jul 2 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.