Title: Write result in value attribute
Last modified: June 2, 2021

---

# Write result in value attribute

 *  [Dragan90](https://wordpress.org/support/users/dragan90/)
 * (@dragan90)
 * [5 years ago](https://wordpress.org/support/topic/write-result-in-value-attribute/)
 * How can I tweak the plugin to write the result in the “value” attribute in real-
   time? I use the plugin to calculate the total price which needs to be forwarded
   to the payment form that takes the amount from the value attribute of the calculated
   field.
 * The total price is calculated properly but the value stays 0.
 * The form is on this page in a popup that opens after clicking the big orange 
   button [https://gilliamelliott.dgtesting.space/limited-time-offer/](https://gilliamelliott.dgtesting.space/limited-time-offer/)
 * Calculated fields is next to the “Total price” label.

Viewing 1 replies (of 1 total)

 *  [henryqv](https://wordpress.org/support/users/henryqv/)
 * (@henryqv)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/write-result-in-value-attribute/#post-14950775)
 * Did you get the value of the result? I need to copy it into another input or 
   div to show different information according to the result

Viewing 1 replies (of 1 total)

The topic ‘Write result in value attribute’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cost-calculator-contact-form-7_bf9597.
   svg)
 * [Calculate Contact Form 7](https://wordpress.org/plugins/cost-calculator-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cost-calculator-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cost-calculator-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/cost-calculator-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cost-calculator-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cost-calculator-contact-form-7/reviews/)

## Tags

 * [value](https://wordpress.org/support/topic-tag/value/)

 * 1 reply
 * 2 participants
 * Last reply from: [henryqv](https://wordpress.org/support/users/henryqv/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/write-result-in-value-attribute/#post-14950775)
 * Status: not resolved