Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119468

wpforumnugent on "[Plugin: Jazzy Forms] anyone know how to use IF function?"

$
0
0

its impossible to write out the entire formula but i will do enough to get you started...ok lets assume the following price list ...
house reg. moving, 1 level, 1 bdrm, 1 bathroom is $70
unit, moving out, number of bdrms, and 1 bathroom is $165

then the formula would look like this...
if(and(house = "yes",reg_moving = "yes", level*bdrm*bathroom,if(and(unit = "yes",moving out = "yes",unit*level*bdrms*bathrooms),"")))

the above statement says if house and reg_moving is equal to yes then multiply level by bdrooms by bathrooms, if that is not the case go to the next if statement which says if unit and moving out are yes then multiply level by bedrooms by bathrooms. if both of these conditions are not met then give a false response denoted by "".

good luck i hope this can get you on your way

if(elementid condition, true condition, false conditon)


Viewing all articles
Browse latest Browse all 119468

Trending Articles