@media (max-width:480px){#cp_calculatedfieldsf_pform_1{min-height:1471px;}}@media (max-width:768px){#cp_calculatedfieldsf_pform_1{min-height:1199px;}}@media (max-width:1024px){#cp_calculatedfieldsf_pform_1{min-height:1185px;}}@media (min-width:1024px){#cp_calculatedfieldsf_pform_1{min-height:1210px;}}
form_structure_1=[[{"form_identifier":"","name":"fieldname5","shortlabel":"","index":0,"ftype":"fradio","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Sex","layout":"two_column","required":true,"exclude":false,"readonly":false,"toSubmit":"text","choiceSelected":"","showDep":false,"untickAccepted":true,"onoff":0,"choices":["Male","Female"],"choicesVal":["1","2"],"choicesDep":[[],[]],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname2","shortlabel":"","index":1,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Age","predefined":"","predefinedClick":false,"required":true,"exclude":false,"readonly":false,"numberpad":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"1","max":"120","formatDynamically":false,"dformat":"digits","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname3","shortlabel":"","index":2,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Weight (in KG)","predefined":"","predefinedClick":false,"required":true,"exclude":false,"readonly":false,"numberpad":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"10","max":"400","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname4","shortlabel":"dsdsff","index":3,"ftype":"fnumber","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Height (in CM)","predefined":"","predefinedClick":false,"required":true,"exclude":false,"readonly":false,"numberpad":false,"size":"small","thousandSeparator":"","decimalSymbol":".","min":"50","max":"300","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname6","shortlabel":"","index":4,"ftype":"fradio","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Goal","layout":"one_column","required":true,"exclude":false,"readonly":false,"toSubmit":"text","choiceSelected":"","showDep":false,"untickAccepted":true,"onoff":0,"choices":["Maintain Current Weight","Lose Weight","Gain Weight"],"choicesVal":["1","2","3"],"choicesDep":[[],[],[]],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname16","shortlabel":"","index":5,"ftype":"fradio","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Activity Level","layout":"one_column","required":true,"exclude":false,"readonly":false,"toSubmit":"text","choiceSelected":"","showDep":false,"untickAccepted":true,"onoff":0,"choices":["Sedentary (Little or no exercise)"," Lightly active (Light exercise\/sports 3-5 days a week)","Moderately active (Moderate exercise\/sports 3-5 days a week)","Very active (Hard exercise\/sports 6-7 days a week)"," Extra active (Hard exercise\/sports 6-7 days a week, plus physical job)"],"choicesVal":["1","2","3","4","5"],"choicesDep":[[],[],[],[],[]],"fBuild":{},"parent":""},{"form_identifier":"","name":"separator1","shortlabel":"","index":6,"ftype":"fSectionBreak","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"The field below will show how many calories you should take per day","fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname1","shortlabel":"","index":7,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"net calories per day HIDDEN","predefined":"","required":false,"exclude":false,"size":"small","eq":"IF(\n fieldname5==1, \n ROUND((10 * fieldname3) + (6.25 * fieldname4) - ((5 * fieldname2) + 5)), \n ROUND((10 * fieldname3) + (6.25 * fieldname4) - ((5 * fieldname2) - 161))\n)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":true,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname17","shortlabel":"","index":8,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Total calories per day with excercise HIDDEN","predefined":"","required":false,"exclude":false,"size":"medium","eq":"IF(\n fieldname16==1,\n ROUND(fieldname1 * 1.207830854),\n IF(\n fieldname16==2,\n ROUND(fieldname1 * 1.383868442),\n IF(\n fieldname16==3,\n ROUND(fieldname1 * 1.55990603),\n IF(\n fieldname16==4,\n ROUND(fieldname1 * 1.735943618),\n IF(\n fieldname16==5,\n ROUND(fieldname1 * 1.911981206), \n ) \n )\n )\n )\n\n)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":true,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname18","shortlabel":"","index":9,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Total calories per day","predefined":"","required":false,"exclude":false,"size":"medium","eq":"IF(\n fieldname6==1,\n fieldname17,\n IF(\n fieldname6==2,\n fieldname17-500,\n IF(\n fieldname6==3,\n fieldname17+500\n )\n )\n)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname13","shortlabel":"","index":10,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Carbs per day (Calories)","predefined":"","required":false,"exclude":false,"size":"small","eq":"ROUND(0.4 * fieldname18)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname15","shortlabel":"","index":11,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Fats per day (Calories)","predefined":"","required":false,"exclude":false,"size":"small","eq":"IF(fieldname6==2, ROUND(0.2 * fieldname18), ROUND(0.3 * fieldname18))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname14","shortlabel":"","index":12,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Proteins per day (Calories)","predefined":"","required":false,"exclude":false,"size":"small","eq":"IF(fieldname6==2, ROUND(0.4 * fieldname18), ROUND(0.3 * fieldname18))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname19","shortlabel":"","index":13,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"","predefined":"","required":false,"exclude":false,"size":"medium","eq":"IF(\n fieldname6==1,\n \u0022Your calorie count and macronutrient ratio should put you close to a level where you maintain your current weight. Along with consistent training, this can help you focus on body recomposition, or gradually burning fat and building muscle, while focusing on your health.\u0022,\n IF(\n fieldname6==2,\n \u0022Your calorie count should put you in a slight caloric deficit of around 200-600 calories, depending on your activity level. This can help you establish a consistent, sustainable pace of weight loss.\u0022,\n IF(\n fieldname6==3,\n \u0022Your calorie count should put you in a slight caloric surplus of around 500 calories. This can help you establish a consistent, sustainable pace of weight gain\u0022\n )\n )\n)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":true,"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname20","shortlabel":"","index":14,"ftype":"fsummary","userhelp":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Remark","exclude_empty":false,"fields":"fieldname19","titleClassname":"summary-field-title","valueClassname":"summary-field-value","fBuild":{},"parent":""}],{"0":{"title":"Macro Calculator","description":"Find your macronutrient ratio for flexible dieting and \u0022if it fits your macros.\u0022 Build a meal plan around your ideal ratio of proteins, carbs, and fats!","formlayout":"top_aligned","formtemplate":"cp_cff_13","evalequations":1,"evalequationsevent":2,"loading_animation":1,"autocomplete":1,"persistence":0,"customstyles":""},"formid":"cp_calculatedfieldsf_pform_1"}];