markusvdm0
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] How to Call Functions / Use Radio ButtonsOkay, we will get back to the jquery in a bit, for now, I need to understand how to do nested combinational logic:
`(function(){
if(fieldname3==”SHS”) {
switch(fieldname2){
case 200 && fieldname17:
return ‘$290.77’
break;
case 200 && NOT(fieldname17):
return ‘$243.77’
break;
}
}
})()Also please feel free to look at the page here it’s all very WIP still:
https://staging.okrasolar.com/okra-shs/Please feel free to give comment on how to align the calculated fields on the right with the center of the images on the left.
Also how can I style the Calculated field boxes.
Why does this not work?
Forum: Plugins
In reply to: [Calculated Fields Form] How to Call Functions / Use Radio ButtonsThanks for the quick reply. I got it to work now, is it possible that you can give me an example if-statement for radio buttons?
if fieldname12 == checked ?
Also, I am struggling very hard with the CSS of the CFF, do we always put #fbuilder in Infront of new CSS? I am trying to have a div with 2 columns, where the left column has an image and the right column has a Calculated field.
But for the life of me, I can’t get the Calculated Field to Vertically aligning with the image because it’s DIV is super small, and I can’t figure out how to get them to be equal size.
Also, can I add Jquery functions into the set equations? I want to for example when a user selects a specific package, turn certain elements black and white? I can’t share the form right now, as It’s not yet been published