Title: Change value
Last modified: October 22, 2021

---

# Change value

 *  Resolved [kuratorn](https://wordpress.org/support/users/kuratorn/)
 * (@kuratorn)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/change-value/)
 * Hi! I am using your Contact Form 7 Color or Image field plugin in to display 
   picture options in a form.
 * But i have a problem. I need to calculate the option. the value passed however
   looks like “your-option | file-path”
 * I have the price i want to calculate in there. i.e “your-option 10.00:- | file-
   path”
 * Does anyone know how I could pass only the price/number to the calculator? Attach
   an extra hidden value? Or transform the option value to a number maybe?
 * Would be grateful for help / Lasse

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/change-value/#post-14998217)
 * [Welcome to Support Forum — Please Read Before Posting](https://wordpress.org/support/topic/welcome-to-support-forum-please-read-before-posting/)
 *  Thread Starter [kuratorn](https://wordpress.org/support/users/kuratorn/)
 * (@kuratorn)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/change-value/#post-15011264)
 * Hi!
    I still have not found a solution to this. I am using Cost Calculator Contact
   Form 7 plugin but i am not able to pass the price to the calculator.
 * I have also tried using a drop down and pipes.
    i.e
 * [select beertype “Sweat | 10” “Beer 30 | 30”]
    [calculator calculator-218 “antal-
   burkar * beertype”]
 * But i dont understand how to pass the value to to the calculator correctly.
 * I need to display a name to the user and send a value to the calculator.
    Prefferably
   i would like to use image swatches as stated in the original post.
 * Greatful for help.
 * Kindly / Lasse

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change value’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [kuratorn](https://wordpress.org/support/users/kuratorn/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/change-value/#post-15011264)
 * Status: resolved