Dear All,
Anybody can help me?
I want to create a calculator for calculate lifepath number.
The logic is the following:
Month: October is the 10th month of the year. 10 reduces to 1 (1 + 0 = 1).
Day: The date of birth is 12. 12 reduces to 3 (1 + 2 = 3).
Year: The year of birth is 1936. 1936 reduces to 1 (1 + 9 + 3 + 6 = 19, then 1 + 9 = 10 and finally 1 + 0 = 1).
Now add the resulting single-digit numbers: 1 + 3 + 1 = 5.
The Life Path number in this case is 5.
Anybody know that how can i create a calculator with this product?
I was checked the manual but the calculation is miss from the document.
Many thanks for the answers.
Regards/Cheers, Laci
Anybody can help me?
I want to create a calculator for calculate lifepath number.
The logic is the following:
Month: October is the 10th month of the year. 10 reduces to 1 (1 + 0 = 1).
Day: The date of birth is 12. 12 reduces to 3 (1 + 2 = 3).
Year: The year of birth is 1936. 1936 reduces to 1 (1 + 9 + 3 + 6 = 19, then 1 + 9 = 10 and finally 1 + 0 = 1).
Now add the resulting single-digit numbers: 1 + 3 + 1 = 5.
The Life Path number in this case is 5.
Anybody know that how can i create a calculator with this product?
I was checked the manual but the calculation is miss from the document.
Many thanks for the answers.
Regards/Cheers, Laci
Hi Laci,
You have to do it with a Custom Code action in the form ON Submit event using PHP. (Or use JavaScript in the form if you want to display the result immediately.) In either case you may need help in writing the code - though it is probably only a few lines.
Bob
You have to do it with a Custom Code action in the form ON Submit event using PHP. (Or use JavaScript in the form if you want to display the result immediately.) In either case you may need help in writing the code - though it is probably only a few lines.
Bob
Hi Bob!
Srry but i cant do this because:
when is click the submit button then all fileds will be hide.
My php code:
My java code on submit
Can you help me that whats wrong?
Thank you for your help!
Laci
Srry but i cant do this because:
when is click the submit button then all fileds will be hide.
My php code:
<div class="form-group gcore-form-row" id="form-row-radio5"><label for="radio5" class="control-label gcore-label-left gcore-label-checkbox">Részvételi díj</label>
<div class="gcore-input gcore-display-table" id="fin-radio5"><div class="gcore-single-column" id="fclmn"><div class="gcore-radio-item" id="fitem"><input name="radio5" id="radio5" value="0" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio5">Nem</label></div>
<div class="gcore-radio-item" id="fitem1"><input name="radio5" id="radio51" value="1" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio51">Igen</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-radio6"><label for="radio6" class="control-label gcore-label-left gcore-label-checkbox">Fakultatív program</label>
<div class="gcore-input gcore-display-table" id="fin-radio6"><div class="gcore-single-column" id="fclmn1"><div class="gcore-radio-item" id="fitem2"><input name="radio6" id="radio6" value="0" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio6">Nem</label></div>
<div class="gcore-radio-item" id="fitem3"><input name="radio6" id="radio61" value="1" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio61">Igen</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-text7"><label for="text7" class="control-label gcore-label-left">Az út ára összesen: </label>
<div class="gcore-input gcore-display-table" id="fin-text7"><input name="text7" id="text7" value="" placeholder="" maxlength="" size="" class="form-control A" title="" style="" data-inputmask="" data-load-state="disabled" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-button4"><div class="gcore-input gcore-display-table" id="fin-button4"><input name="button4" id="button4" type="submit" value="Kalkulál" class="btn btn-default form-control A" style="" data-load-state="" /></div></div>
My java code on submit
function calculate () {
var reszveteli, faklutativ;
$('fin-text7').value = $('radio5').value + $('radio6').value;
}
Can you help me that whats wrong?
Thank you for your help!
Laci
This topic is locked and no more replies can be posted.
