{"id":9,"date":"2018-02-12T19:48:27","date_gmt":"2018-02-12T19:48:27","guid":{"rendered":"http:\/\/bossakov.eu\/wpdemo\/?page_id=9"},"modified":"2023-03-30T09:06:06","modified_gmt":"2023-03-30T09:06:06","slug":"ideal-weight-calculator","status":"publish","type":"page","link":"https:\/\/bossakov.eu\/wpdemo\/pvb-cf7-calculator-pro\/ideal-weight-calculator\/","title":{"rendered":"Ideal weight calculator"},"content":{"rendered":"<p>This calculator has multiple calculated fields and works together with the free <a href=\"https:\/\/wordpress.org\/plugins\/cf7-conditional-fields\/\" target=\"_blank\" rel=\"noopener noreferrer\">Conditional Fields for Contact Form 7<\/a> plugin to branch into different subsections of the form conditionally.<\/p>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f5-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"5\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/wpdemo\/wp-json\/wp\/v2\/pages\/9#wpcf7-f5-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"5\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.7\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f5-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:5,&quot;conditions&quot;:[{&quot;then_field&quot;:&quot;m_metric&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;m_units&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;Metric (cm, kg)&quot;}]},{&quot;then_field&quot;:&quot;m_us&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;m_units&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;US (feet, inches, lbs)&quot;}]},{&quot;then_field&quot;:&quot;man&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;sex&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;Man&quot;}]},{&quot;then_field&quot;:&quot;w_metric&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;w_units&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;Metric (cm, kg)&quot;}]},{&quot;then_field&quot;:&quot;w_us&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;w_units&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;US (feet, inches, lbs)&quot;}]},{&quot;then_field&quot;:&quot;woman&quot;,&quot;and_rules&quot;:[{&quot;if_field&quot;:&quot;sex&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;if_value&quot;:&quot;Woman&quot;}]}],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:true,&quot;repeater_remove_button&quot;:&quot;bottom&quot;,&quot;wpcf7cf_settings_saved&quot;:1}}\" \/>\n<\/fieldset>\n<p><label>Are you a:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"sex\"><span class=\"wpcf7-form-control wpcf7-radio\"><span class=\"wpcf7-list-item first\"><input type=\"radio\" name=\"sex\" value=\"Woman\" \/><span class=\"wpcf7-list-item-label\">Woman<\/span><\/span><span class=\"wpcf7-list-item last\"><input type=\"radio\" name=\"sex\" value=\"Man\" \/><span class=\"wpcf7-list-item-label\">Man<\/span><\/span><\/span><\/span><\/label>\n<\/p>\n<div data-id=\"woman\" data-orig_data_id=\"woman\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t<p><label>Units:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"w_units\"><span class=\"wpcf7-form-control wpcf7-radio\"><span class=\"wpcf7-list-item first\"><input type=\"radio\" name=\"w_units\" value=\"US (feet, inches, lbs)\" \/><span class=\"wpcf7-list-item-label\">US (feet, inches, lbs)<\/span><\/span><span class=\"wpcf7-list-item last\"><input type=\"radio\" name=\"w_units\" value=\"Metric (cm, kg)\" \/><span class=\"wpcf7-list-item-label\">Metric (cm, kg)<\/span><\/span><\/span><\/span><\/label>\n\t<\/p>\n\t<div data-id=\"w_us\" data-orig_data_id=\"w_us\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t\t<p><label>Height:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"w_feet\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"10\" aria-invalid=\"false\" value=\"5\" type=\"number\" name=\"w_feet\" \/><\/span> ft <span class=\"wpcf7-form-control-wrap\" data-name=\"w_inches\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"11\" aria-invalid=\"false\" value=\"10\" type=\"number\" name=\"w_inches\" \/><\/span> in<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap w_total_inches\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-calculation pvb-display-none cf7-calculation\" readonly=\"readonly\" aria-invalid=\"false\" value=\"0\" type=\"text\" name=\"w_total_inches\" \/><\/span><input class=\"wpcf7-form-control wpcf7-calculate_button cf7-calculate_button\" type=\"button\" value=\"Calculate\" \/>\n\t\t<\/p>\n\t\t<div id=\"w_us_result\" style=\"display: none;\">\n\t\t\t<p>Based on the Robinson formula (1983), your ideal weight is  lbs<br \/>\nBased on the Miller formula (1983), your ideal weight is  lbs<br \/>\nBased on the Devine formula (1974), your ideal weight is  lbs<br \/>\nBased on the Hamwi formula (1964), your ideal weight is  lbs<br \/>\nBased on the healthy BMI recommendation, your recommended weight is  lbs -  lbs\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t<div data-id=\"w_metric\" data-orig_data_id=\"w_metric\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t\t<p><label>Height:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"w_cm\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"300\" aria-invalid=\"false\" value=\"165\" type=\"number\" name=\"w_cm\" \/><\/span> cm<\/label><br \/>\n<input class=\"wpcf7-form-control wpcf7-calculate_button cf7-calculate_button\" type=\"button\" value=\"Calculate\" \/>\n\t\t<\/p>\n\t\t<div id=\"w_metric_result\" style=\"display: none;\">\n\t\t\t<p>Based on the Robinson formula (1983), your ideal weight is  kg<br \/>\nBased on the Miller formula (1983), your ideal weight is  kg<br \/>\nBased on the Devine formula (1974), your ideal weight is  kg<br \/>\nBased on the Hamwi formula (1964), your ideal weight is  kg<br \/>\nBased on the healthy BMI recommendation, your recommended weight is  kg -  kg\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<div data-id=\"man\" data-orig_data_id=\"man\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t<p><label>Units:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"m_units\"><span class=\"wpcf7-form-control wpcf7-radio\"><span class=\"wpcf7-list-item first\"><input type=\"radio\" name=\"m_units\" value=\"US (feet, inches, lbs)\" \/><span class=\"wpcf7-list-item-label\">US (feet, inches, lbs)<\/span><\/span><span class=\"wpcf7-list-item last\"><input type=\"radio\" name=\"m_units\" value=\"Metric (cm, kg)\" \/><span class=\"wpcf7-list-item-label\">Metric (cm, kg)<\/span><\/span><\/span><\/span><\/label>\n\t<\/p>\n\t<div data-id=\"m_us\" data-orig_data_id=\"m_us\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t\t<p><label>Height:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"m_feet\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"10\" aria-invalid=\"false\" value=\"5\" type=\"number\" name=\"m_feet\" \/><\/span> ft <span class=\"wpcf7-form-control-wrap\" data-name=\"m_inches\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"11\" aria-invalid=\"false\" value=\"10\" type=\"number\" name=\"m_inches\" \/><\/span> in<\/label><br \/>\n<input class=\"wpcf7-form-control wpcf7-calculate_button cf7-calculate_button\" type=\"button\" value=\"Calculate\" \/>\n\t\t<\/p>\n\t\t<div id=\"m_us_result\" style=\"display: none;\">\n\t\t\t<p>Based on the Robinson formula (1983), your ideal weight is  lbs<br \/>\nBased on the Miller formula (1983), your ideal weight is  lbs<br \/>\nBased on the Devine formula (1974), your ideal weight is  lbs<br \/>\nBased on the Hamwi formula (1964), your ideal weight is  lbs<br \/>\nBased on the healthy BMI recommendation, your recommended weight is  lbs -  lbs\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t<div data-id=\"m_metric\" data-orig_data_id=\"m_metric\"  class=\"\" data-class=\"wpcf7cf_group\">\n\t\t<p><label>Height:<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"m_cm\"><input class=\"wpcf7-form-control wpcf7-number wpcf7-validates-as-number\" min=\"0\" max=\"300\" aria-invalid=\"false\" value=\"175\" type=\"number\" name=\"m_cm\" \/><\/span> cm<\/label><br \/>\n<input class=\"wpcf7-form-control wpcf7-calculate_button cf7-calculate_button\" type=\"button\" value=\"Calculate\" \/>\n\t\t<\/p>\n\t\t<div id=\"m_metric_result\" style=\"display: none;\">\n\t\t\t<p>Based on the Robinson formula (1983), your ideal weight is  kg<br \/>\nBased on the Miller formula (1983), your ideal weight is  kg<br \/>\nBased on the Devine formula (1974), your ideal weight is  kg<br \/>\nBased on the Hamwi formula (1964), your ideal weight is  kg<br \/>\nBased on the healthy BMI recommendation, your recommended weight is  kg -  kg\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<p><script>\njQuery('div[data-id=\"w_us\"] .wpcf7-calculate_button').click(function() {\n jQuery('#w_us_result').show();\n});\njQuery('div[data-id=\"w_metric\"] .wpcf7-calculate_button').click(function() {\n jQuery('#w_metric_result').show();\n});\njQuery('div[data-id=\"m_us\"] .wpcf7-calculate_button').click(function() {\n jQuery('#m_us_result').show();\n});\njQuery('div[data-id=\"m_metric\"] .wpcf7-calculate_button').click(function() {\n jQuery('#m_metric_result').show();\n});\n<\/script>\n<\/p><input type=\"hidden\" name=\"_pvb_ajax_calc_nonce\" value=\"0a71ff9d73\"><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n<h2>Source code for this form:<\/h2>\n<pre>&lt;label&gt;Are you a:\n[radio sex \"Woman\" \"Man\"]&lt;\/label&gt;\n\n[group woman]\n  &lt;label&gt;Units:\n  [radio w_units \"US (feet, inches, lbs)\" \"Metric (cm, kg)\"]&lt;\/label&gt;\n\n  [group w_us]\n    &lt;label&gt;Height:\n    [number w_feet min:0 max:10 \"5\"] ft [number w_inches min:0 max:11 \"10\"] in&lt;\/label&gt;\n    [calculation w_total_inches cf7-hide min:0 \"w_feet*12+w_inches\"] [calculation w_over_5ft min:0 cf7-hide \"w_total_inches-60\"] [calculate_button calculate_button-1 \"Calculate\"]\n    &lt;div id=\"w_us_result\" style=\"display: none;\"&gt;\n      Based on the Robinson formula (1983), your ideal weight is [calculation robinson_woman_us min:0 precision:1 \"(49+1.7*w_over_5ft)*2.20462\"] lbs\n      Based on the Miller formula (1983), your ideal weight is [calculation miller_woman_us min:0 precision:1 \"(53.1+1.36*w_over_5ft)*2.20462\"] lbs\n      Based on the Devine formula (1974), your ideal weight is [calculation devine_woman_us min:0 precision:1 \"(45.5+2.3*w_over_5ft)*2.20462\"] lbs\n      Based on the Hamwi formula (1964), your ideal weight is [calculation hamwi_woman_us min:0 precision:1 \"(45.5+2.2*w_over_5ft)*2.20462\"] lbs\n      Based on the healthy BMI recommendation, your recommended weight is [calculation bmi_woman_us_lower min:0 precision:1 \"18.5 * (w_total_inches ^ 2) \/ 703\"] lbs - [calculation bmi_woman_us_upper min:0 precision:1 \"25 * w_total_inches ^ 2 \/ 703\"] lbs\n    &lt;\/div&gt;\n  [\/group]\n\n  [group w_metric]\n    &lt;label&gt;Height:\n    [number w_cm min:0 max:300 \"175\"] cm&lt;\/label&gt;\n    [calculation w_over_5ft_m min:0 cf7-hide \"w_cm\/2.54-60\"] [calculate_button calculate_button-2 \"Calculate\"]\n    &lt;div id=\"w_metric_result\" style=\"display: none;\"&gt;\n      Based on the Robinson formula (1983), your ideal weight is [calculation robinson_woman_m min:0 precision:1 \"(49+1.7*w_over_5ft_m)\"] kg\n      Based on the Miller formula (1983), your ideal weight is [calculation miller_woman_m min:0 precision:1 \"(53.1+1.36*w_over_5ft_m)\"] kg\n      Based on the Devine formula (1974), your ideal weight is [calculation devine_woman_m min:0 precision:1 \"(45.5+2.3*w_over_5ft_m)\"] kg\n      Based on the Hamwi formula (1964), your ideal weight is [calculation hamwi_woman_m min:0 precision:1 \"(45.5+2.2*w_over_5ft_m)\"] kg\n      Based on the healthy BMI recommendation, your recommended weight is [calculation bmi_woman_m_lower min:0 precision:1 \"18.5 * (w_cm\/100) ^ 2\"] kg - [calculation bmi_woman_m_upper min:0 precision:1 \"25 * (w_cm\/100) ^ 2\"] kg\n    &lt;\/div&gt;\n  [\/group]\n[\/group]\n\n[group man]\n  &lt;label&gt;Units:\n  [radio m_units \"US (feet, inches, lbs)\" \"Metric (cm, kg)\"]&lt;\/label&gt;\n\n  [group m_us]\n    &lt;label&gt;Height:\n    [number m_feet min:0 max:10 \"5\"] ft [number m_inches min:0 max:11 \"10\"] in&lt;\/label&gt;\n    [calculation m_total_inches cf7-hide min:0 \"m_feet*12+m_inches\"] [calculation m_over_5ft min:0 cf7-hide \"m_total_inches-60\"] [calculate_button calculate_button-3 \"Calculate\"]\n    &lt;div id=\"m_us_result\" style=\"display: none;\"&gt;\n      Based on the Robinson formula (1983), your ideal weight is [calculation robinson_man_us min:0 precision:1 \"(52+1.9*w_over_5ft)*2.20462\"] lbs\n      Based on the Miller formula (1983), your ideal weight is [calculation miller_man_us min:0 precision:1 \"(56.2+1.41*w_over_5ft)*2.20462\"] lbs\n      Based on the Devine formula (1974), your ideal weight is [calculation devine_man_us min:0 precision:1 \"(50.0+2.3*w_over_5ft)*2.20462\"] lbs\n      Based on the Hamwi formula (1964), your ideal weight is [calculation hamwi_man_us min:0 precision:1 \"(48.0+2.7*w_over_5ft)*2.20462\"] lbs\n      Based on the healthy BMI recommendation, your recommended weight is [calculation bmi_man_us_lower min:0 precision:1 \"18.5 * (m_total_inches ^ 2) \/ 703\"] lbs - [calculation bmi_man_us_upper min:0 precision:1 \"25 * m_total_inches ^ 2 \/ 703\"] lbs\n    &lt;\/div&gt;\n  [\/group]\n\n  [group m_metric]\n    &lt;label&gt;Height:\n    [number m_cm min:0 max:300 \"175\"] cm&lt;\/label&gt;\n    [calculation m_over_5ft_m min:0 cf7-hide \"m_cm\/2.54-60\"] [calculate_button calculate_button-4 \"Calculate\"]\n    &lt;div id=\"m_metric_result\" style=\"display: none;\"&gt;\n      Based on the Robinson formula (1983), your ideal weight is [calculation robinson_man_m min:0 precision:1 \"(52+1.9*m_over_5ft_m)\"] kg\n      Based on the Miller formula (1983), your ideal weight is [calculation miller_man_m min:0 precision:1 \"(56.2+1.41*m_over_5ft_m)\"] kg\n      Based on the Devine formula (1974), your ideal weight is [calculation devine_man_m min:0 precision:1 \"(50.0+2.3*m_over_5ft_m)\"] kg\n      Based on the Hamwi formula (1964), your ideal weight is [calculation hamwi_man_m min:0 precision:1 \"(48.0+2.7*m_over_5ft_m)\"] kg\n      Based on the healthy BMI recommendation, your recommended weight is [calculation bmi_man_m_lower min:0 precision:1 \"18.5 * (m_cm\/100) ^ 2\"] kg - [calculation bmi_man_m_upper min:0 precision:1 \"25 * (m_cm\/100) ^ 2\"] kg\n    &lt;\/div&gt;\n  [\/group]\n[\/group]\n&lt;script&gt;\njQuery('div[data-id=\"w_us\"] .wpcf7-calculate_button').click(function() {\n  jQuery('#w_us_result').show();\n});\njQuery('div[data-id=\"w_metric\"] .wpcf7-calculate_button').click(function() {\n  jQuery('#w_metric_result').show();\n});\njQuery('div[data-id=\"m_us\"] .wpcf7-calculate_button').click(function() {\n  jQuery('#m_us_result').show();\n});\njQuery('div[data-id=\"m_metric\"] .wpcf7-calculate_button').click(function() {\n  jQuery('#m_metric_result').show();\n});\n&lt;\/script&gt;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This calculator has multiple calculated fields and works together with the free Conditional Fields for Contact Form 7 plugin to branch into different subsections of the form conditionally. Source code for this form: &lt;label&gt;Are you a: [radio sex &#8220;Woman&#8221; &#8220;Man&#8221;]&lt;\/label&gt; [group woman] &lt;label&gt;Units: [radio w_units &#8220;US (feet, inches, lbs)&#8221; &#8220;Metric (cm, kg)&#8221;]&lt;\/label&gt; [group w_us] &lt;label&gt;Height: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":11,"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/pages\/9\/revisions\/524"}],"up":[{"embeddable":true,"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/pages\/2"}],"wp:attachment":[{"href":"https:\/\/bossakov.eu\/wpdemo\/wp-json\/wp\/v2\/media?parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}