kafitness
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] How to round to nearest integerThank you very much for your prompt response.
Forum: Plugins
In reply to: [Calculated Fields Form] any errors in my equation/calculation?Nevermind. I found the error. I was missing parentheses throughout.
Yes I did some research and found the subscription delay plugin. Thank you, tvjpblogs.
acmsoft, here is the location of the plugin- Subscription Delay
same here. I ended up setting excerpts to no because they look off.
Forum: Fixing WordPress
In reply to: Slug/Permalink keeps changing automatically*bump
I guess I didn’t need to. Refreshed my site and now it’s up and running. Ninja forms did need an update though.
Thank you. I’m not too savvy with coding, that’s why I went with Ninja Form’s Modal Forms.
Yes
Forum: Fixing WordPress
In reply to: Fatal Error White Screen! Can't Access WPNevermind I went through Godaddy and restored my site. Works now.
Forum: Fixing WordPress
In reply to: Fatal Error White Screen! Can't Access WPHey Matthew,
I can’t get to the cpanel; I am redirected to the error message
ps. My site is in “maintenance” mode as I am currently editing it.
Forum: Plugins
In reply to: [Calculated Fields Form] IF Formula – TDEE*Note the last equation is the second formula, I am not sure if thats correct because I am trying to get a number converted into a percentage. User will input an integer and I’d like the code to convert it to a percentage.
Now that I look at it it needs a –
if(fieldname9==2){
return (370+21.6*(fieldname5-(fieldname5*(fieldname10/100))))
}
})()Forum: Plugins
In reply to: [Calculated Fields Form] IF Formula – TDEEI am also trying to build a field form for a TDEE formula. Im trying to create a form using two formulas. I am new to javascript and have done the best I could to base my formula on those above. I understand how to write equations but would like to get it checked. Also, how do I make a button to calculate this equation and what code do I use for that?
(function(){
if(fieldname9==1 && fieldname7==1 && fieldname8==1){
return (66+fieldname5*13.7+fieldname4*5-fieldname3*6.8*1.2;
}
if(fieldname9==1 && fieldname7==1 && fieldname8==2){
return (66+fieldname5*13.7+fieldname4*5-fieldname3*6.8*1.375;
}
if(fieldname9==1 && fieldname7==1 && fieldname8==3){
return (66+fieldname5*13.7+fieldname4*5-fieldname3*6.8*1.55;
}
if(fieldname9==1 && fieldname7==1 && fieldname8==4){
return (66+fieldname5*13.7+fieldname4*5-fieldname3*6.8*1.725;
}
if(fieldname9==1 && fieldname7==1 && fieldname8==5){
return (66+fieldname5*13.7+fieldname4*5-fieldname3*6.8*1.9;
}
if(fieldname9==1 && fieldname7==2 && fieldname8==1){
return (655+fieldname5*9.6+fieldname4*1.8-fieldname3*4.7)*1.2;
}
if(fieldname9==1 && fieldname7==2 && fieldname8==2){
return (655+fieldname5*9.6+fieldname4*1.8-fieldname3*4.7)*1.375;
}
if(fieldname9==1 && fieldname7==2 && fieldname8==3){
return (655+fieldname5*9.6+fieldname4*1.8-fieldname3*4.7)*1.55;
}
if(fieldname9==1 && fieldname7==2 && fieldname8==4){
return (655+fieldname5*9.6+fieldname4*1.8-fieldname3*4.7)*1.725;
}
if(fieldname9==1 && fieldname7==2 && fieldname8==5){
return (655+fieldname5*9.6+fieldname4*1.8-fieldname3*4.7)*1.9;
}
if(fieldname9==2){
return (370+21.6*(fieldname5(fieldname5*(fieldname10/100))))
}
})()