inicolabug
Forum Replies Created

Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsyes, thanks a lot for ur help now the first step now works perfectly ðŸ™‚ many many many thanks
now i try the % in the radio button i think to do in a different way because the % need to process different number so maybe i can try something like thisif(radioBtns == si) (result*fieldname7)(value10) and then (result/fieldname8)(value100) ;
something like this but written well now i try to arrange the correct coding for this.
thanks again best regardForum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsin the radio i need to add a 10% to the result , so result *= 0.9; is right?
Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsok i did in this way:
(function(){
var result = 0;
if( fieldname1==”value 1″ && fieldname2==”value 1″) result= value 184,10;
if( fieldname1==”value 1″ && fieldname2==”value 2″) result= value 329,00;
var radioBtns = fieldname5;if(radioBtns == 6) result *= 0.9;
return result;
})()
but no result from calculations ….. where is the error?
and in the radio buttons cal when i define the conditional — if(radioBtns == 6) result *= 0.9; — i have to do in this way ? or
(fieldname5 == 6) result *= 0.9; ??
thanks again ðŸ™‚Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsok i tested just the first step fieldname 1 and fieldname 2 but i have always 0 for result , i did this
(function(){
var result = 0;
if( fieldname1==”value 1″ && fieldname2==”value 1″) result=”value 184,10″;
if( fieldname1==”value 1″ && fieldname2==”value 2″) result=”value 329,00″;return result;
})()maybe i need to define the value of the var result not zero but the value of the conditionals, i’m asking how ? i hope start to work so i stop to annoying you . Thanks again for ur golden support
Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsi’ll try something like this :
(function(){
var result = 0;
if( fieldname1==”value X” && fieldname2==”value X”) result=”value A”;
if( fieldname1==”value X” && fieldname2==”value Y”) result=”value B”;var radioBtns = fieldname4+fieldname5+fieldname6+fieldname7+fieldname8+fieldname9+fieldname10+fieldname11+fieldname12+fieldname13;
if(radioBtns == 6) result *= 0.9;
if(radioBtns == 7) result *= 0.85;
if(radioBtns == 8) result *= 0.8;
if(radioBtns == 9) result *= 0.75;
if(radioBtns == 10) result *= 0.7;return result;
})()Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsah perfect thanks
Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalshere the mistake i didn’t need a sum of fieldname 1 + fieldname 2 but the selection of fieldname 1 choice 1 + fieldname 2 choice 1 need to recall an hidden field with the result and the calculation need to take the hidden field value to add the radio button options.
here http://www.bsabroker.info/prevtest12may/ a test with ur code that work but i have the sum.
For this reason i think i need to add an if fieldname 1 is 1 and fieldname 2 is 1 result fieldname 3 (hidden fields with number value).
but i can do in another way maybe i’ll try …. i’ll let u know later if worksForum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalssorry but i think there is a mistake the calculation field isn’t hidden , the hidden fields are the fields with the result from , fieldname 1 choice 1 + fieldname 2 choice 1 ; then fieldname 1 choice 1 + fieldname 2 choice 2 ; then fieldname 1 choice 1 + fieldname 2 choice 3 ; and so on ,
maybe i think i need an if fieldname 1 is 1 and fieldname 2 is 1 result fieldname 3 (hidden fields with number value) and then if fieldname 1 is 1 and fieldname 2 is 2 result fieldname 4 and so on . right? ðŸ™‚Forum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsok perfect so i reply the function inside the same calculation filed for each result of the fieldname 1 + fieldname 2 ?
Just to understand how this funcion get the fieldname 3? (function(){
var result = (fieldname1+fieldname2)*fieldname3;return result;
})()to get the fieldname 3 result i need to select fieldname 1 choice 1 and fieldname 2 choice 1 , how i can configure this ?
because then i have fieldname 1 choice 1 + fieldname 2 choice 2 and get another result(an hidden fieldname with a number value.
Thanks if i understand this maybe i can set a right equationForum: Plugins
In reply to: [Calculated Fields Form] equations with calculations and conditionalsHi thanks for the super fast answer, now i try ur code adding the right values.
So to explain better yes fieldname 1 (dropdown with 5 different choice, with no number value ) + fieldname 2 (dropdown with 6 different choice, with no number value ) = base result (don’t need to be showed and i already know the value ) then 10 radio button with yes or no .
so i need to create a calculation fields for every result from fieldname 1 + fieldname 2 ?
Thanks again for ur great helpForum: Plugins
In reply to: [Caldera Forms  More Than Contact Forms] conditionals in alert successHi, it’s quite simple, i just add the plugin dkpdf and the paste the shortcode on the form page, (i’d like to put on the alert message box, but didn’t work) so when u submit the for (disable Ajax ) the alert message is on the same page and u can save it or print let me know if u need help.
Forum: Plugins
In reply to: [Caldera Forms  More Than Contact Forms] conditionals in alert successok solved! i ad a variable with all the values of the conditionals and in this way works perfect.
thanks for the great plugini check all the condition to find some errors and i try to delete all the plugin but nothing change……. someone can help ? thanks