0

I'm using Freeform Pro 4 and creating a multipage form. In the first page I have a field {freeform:field:sale_price} where the user can enter a price for their house.

On the next page I then need to do some calculations on this price.

I know that there is also a Hidden Field type, so I created a 'sale_price_hidden' and then when the user submits the first page, the hidden value gets added like so;

<input type="hidden" name="sale_price_hidden" value="{freeform:field:sale_price}{freeform:data:value}{/freeform:field:sale_price}" />

On the second page I am then trying to retrieve that value, but I'm not sure how to get the raw data value (assuming it is possible).

Wondered if someone could help? :)

Thanks.

1 Answer 1

0

Freeform Pro has the {freeform:mp_data:FIELD_NAME} tag to assist with items like this:

http://www.solspace.com/docs/freeform/form#freeform_mp_data_field_name

6
  • Hey Greg. Thanks for this. Unfortunately it just shows the field with the value, rather then just the raw value. :( Jan 23, 2013 at 11:49
  • It shouldn't be, what does your template look like?
    – user550
    Jan 23, 2013 at 20:51
  • Ah. I think it was because I had tried using hidden fields which screwed things up. Removed the hidden field and then on the second page I'm now just using the {freeform:mp_data:sale_price} which works fine. :) Jan 27, 2013 at 16:38
  • Just discovered the bug with 4.0.10 when it displays something like this freehold|~|Freehold when trying to get a value from a Select. I understand that there might be a patch for this before the next release? Jan 27, 2013 at 17:04
  • Hey, sorry I didn't see this. Alerts aren't working for me. We are testing a version 4.0.11 for release that fixes this issue.
    – user550
    Feb 6, 2013 at 21:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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