I love how we can use {brf_form_live_value} to display field values anywhere on the page, but it would be nice if it had an option to return the value without the so we can use it in other field values and placeholders as well as in Pro Forms actions.
To ensure that the value remains “live” and can react to input changes, it must be able to be controlled somehow during runtime. That is why it has a with a few data attributes as parent. Without the wrapper, it would be just static text and therefore unusable. Or am I not understanding something correctly here?
For example say I want to use the value of a calculation to change the price in the add to cart action. If I put {brf_form_live_value:field_id} is returns an error. If I use the {{field_id}} it returns an error. But if I manually enter a random price it adds to cart with the new price. So we need a way to output the calculated value back into the actions.
And also another example someone was asking in the facebook group earlier about having a form field add the value of another form field when typing in it. If I add {brf_form_live_value:field_id} it shows the span code as the value. I was thinking if it was setup to work with field values as well it would add so much more functionality. I’m just looking for an easier way to pass the live value back into the form data to be used somewhere else in the form if possible. I was thinking {brf_form_live_value} would be the way to do it, but maybe I’m overthinking it and there is a much simpler solution.
BTW for the second example I posted a solution in facebook of how to do it using the event panel and JS Redirecting...
Thanks for explaining!
Hehe, just posted a new video of another new feature in 3.0. I guess this would definitely solve the second problem. Regarding the calculation result: Normally, the {{variable}}
way should work by referencing to the variable of the calculation field. Will check that out