Title: Items inside fields
Last modified: August 21, 2016

---

# Items inside fields

 *  Resolved [Jaer1823](https://wordpress.org/support/users/jaer1823/)
 * (@jaer1823)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/items-inside-fields/)
 * I woul like to know if th items we put inside the fields can be call
 * Example
    fielfname1: fieldname2: .a .d .b .e .c .f
 * IF(fieldname1 is a)AND(fieldname2 is b)==fieldname3;
 * [https://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/items-inside-fields/#post-4792064)
 * Hi,
 * I’m sorry, I don’t understand what you pretend calculate with your equation. 
   Could you give me additional details, please?
 * Best regards.
 *  Thread Starter [Jaer1823](https://wordpress.org/support/users/jaer1823/)
 * (@jaer1823)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/items-inside-fields/#post-4792081)
 * The question was how I can call a third field by the combination of two items
   from fieldname1 and fieldname2.
 * For this example I have 4 fields: fieldname1 and fieldname2, drop down menu, 
   fieldname3 another control, any of them, and finally the fieldname4, a calculated
   field.
 * for displaying the third field a gave to fieldname1 a value of 1 and for fieldname2
   a value of 3.
 * I assign to the fieldname3 a classname I pasted in Add Css Layout Keywords and
   then paste the attribute in the css style as .{display:none;}
 * and finally in the fieldname4 ( Calculated field) I paste the code they gave 
   me:
 * function(){
    if( fieldname1 == 1 && fieldname2 == 3) { jQuery( ‘.myclass’ ).show();}
   else { jQuery( ‘.myclass’ ).hide(); }
 * // The rest of the equation here
 * })()
 * everything it is ok but nothing happened my third field doesn’t appear.
 * this is my site: [http://marketingpowercolombia.com/Qutation/quotation/](http://marketingpowercolombia.com/Qutation/quotation/)
 * Thanks for help I already sent a ticket.
 *  Thread Starter [Jaer1823](https://wordpress.org/support/users/jaer1823/)
 * (@jaer1823)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/items-inside-fields/#post-4792092)
 * Thanks a lot the plugin work as charm with the code you gave me. It is a very
   profesional atention, and fast reply you save My job.
 * Best regards,
    Jorge

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

The topic ‘Items inside fields’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jaer1823](https://wordpress.org/support/users/jaer1823/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/items-inside-fields/#post-4792092)
 * Status: resolved