Title: svd89's Replies | WordPress.org

---

# svd89

  [  ](https://wordpress.org/support/users/svd89/)

 *   [Profile](https://wordpress.org/support/users/svd89/)
 *   [Topics Started](https://wordpress.org/support/users/svd89/topics/)
 *   [Replies Created](https://wordpress.org/support/users/svd89/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/svd89/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/svd89/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/svd89/engagements/)
 *   [Favorites](https://wordpress.org/support/users/svd89/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/svd89/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/svd89/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/svd89/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Autocomplete Places in different fields](https://wordpress.org/support/topic/autocomplete-places-in-different-fields/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/autocomplete-places-in-different-fields/#post-18218411)
 * Okay, I will. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Autocomplete Places in different fields](https://wordpress.org/support/topic/autocomplete-places-in-different-fields/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/autocomplete-places-in-different-fields/#post-18218409)
 * Yes!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Hours to days](https://wordpress.org/support/topic/hours-to-days/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/hours-to-days/page/2/#post-18214108)
 * [@codepeople2](https://wordpress.org/support/users/codepeople2/)
 * Wow YES! That did the trick. Many thanks.. again!
   All the best
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Hours to days](https://wordpress.org/support/topic/hours-to-days/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/hours-to-days/#post-18213640)
 * Hello [@codepeople2](https://wordpress.org/support/users/codepeople2/) ,
 * In addition of this topic I was wondering if it is also possible to add time 
   within the ‘min. date’ field.
   Fieldname 2 has now a min. date of fieldname1, 
   but I am trying to get the min. date of ‘fieldname 1 + 2 hours. ‘ Is this possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18212657)
 * Hello [@codepeople2](https://wordpress.org/support/users/codepeople2/) ,
 * This is amazing, thank you so much for taking the time to create a video.
   I really
   appreciate it. I got it working now! All the best
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18212024)
 * Yes, this is great and it works, thank you! But how am I able to change **a part
   of the text to bold **instead of the whole thing? Or to put some text in a <table
   > or so? Is that possible?
   All the best
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18211879)
 * Thank you so much, it works! But I lose my ‘style.’ Is it possible to combine
   or integrate the code with html or css?
   For example:
 *     ```wp-block-code
       (function(){if(fieldname104|v == 'A1 Autotransporter') return '<b>This is a test</b>';if(fieldname104|v == 'A2 Autotransporter (luchtgeveerd)') return '<p>another <u>test</u></p>';if(fieldname104|v == 'B1 Bagagewagen') return '<h4>final test</h4>';})()
       ```
   
    -  This reply was modified 1 year, 7 months ago by [svd89](https://wordpress.org/support/users/svd89/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18211351)
 * Hello,
   Is it also possible to return a certain text instead of PREC(250,2); ?
   For example:
 *     ```wp-block-code
       (function(){if(fieldname104|v == 'A1 Autotransporter') return (This is a test);if(fieldname104|v == 'A2 Autotransporter (luchtgeveerd)') return (another test);if(fieldname104|v == 'B1 Bagagewagen') return (final test);})()
       ```
   
 * But this isn’t working. What am I doing wrong? Hope to hear from you.
   Thank you
   in advance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Checkbox image, but text output](https://wordpress.org/support/topic/checkbox-image-but-text-output/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkbox-image-but-text-output/#post-18204249)
 * Thanks again for your answer and I understand. I will consider this.
   All the 
   best!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Checkbox image, but text output](https://wordpress.org/support/topic/checkbox-image-but-text-output/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkbox-image-but-text-output/#post-18203957)
 * Hello,
 * Here I am again! I have been thinking about it a lot and I came with the following
   ideas: 
   Would it be possible to render a checkbox choice through a calculated
   field? For example if I choose ‘A’ (which is an image), it will return the name
   of that image to the (e-mail) summary.Or maybe vice versa.. to create an image
   through html with an ‘on-click’ function, which will trigger my ‘invisible’ checkbox-
   choice ‘A?’ Hope to hear from you again. Many thanks in advance and all the best!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Checkbox image, but text output](https://wordpress.org/support/topic/checkbox-image-but-text-output/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkbox-image-but-text-output/#post-18201387)
 * Ok, I get it. I will try to find another solution. Thank you so much for your
   help.
   Have a great day!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Checkbox image, but text output](https://wordpress.org/support/topic/checkbox-image-but-text-output/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkbox-image-but-text-output/#post-18201360)
 * Yes, but this will return the value and that is exactly what I don’t want. The
   value is a number which I use for another equation.
   I want to return the ‘name’
   of the image. Is this possible trough an _alt text_, written in the <img> code?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Checkbox image, but text output](https://wordpress.org/support/topic/checkbox-image-but-text-output/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/checkbox-image-but-text-output/#post-18201235)
 * Hello,
 * Thank you so much for your answer. That is not quite what I mean. I need the 
   value field for another equation. My wish is to have it similar to [this.](https://www.aanhangerservicebudel.nl/wp-content/uploads/2024/12/Checkbox-with-images.jpg)
   The text below the image has to be returned to the summary or e-mail. Hope you
   know what I mean 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18197177)
 * Yes, the choice texts it is! Thank you very much. I’ve learned a lot.
   All the
   best and have a great day!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Is it possible to calculate with ‘choice texts?’](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/)
 *  Thread Starter [svd89](https://wordpress.org/support/users/svd89/)
 * (@svd89)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/is-it-possible-to-calculate-with-choice-texts/#post-18197054)
 * This is great! Thank you so much. 
   Unfortunately I’m not able to get it working.
   I have adjusted it to my form’s needs (more lines to come). Did I do something
   wrong? This is the equation below:
 * (function(){
   if(fieldname104|r == ‘A1 Autotransporter’) return PREC(250,2);if(
   fieldname104|r == ‘A2 Autotransporter (luchtgeveerd)’) return PREC(250,2);if(
   fieldname104|r == ‘B1 Bagagewagen’) return PREC(100,2);})()
 * Many thanks in advance!
    -  This reply was modified 1 year, 7 months ago by [svd89](https://wordpress.org/support/users/svd89/).

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/svd89/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/svd89/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/svd89/replies/page/2/?output_format=md)