trev.pope
Forum Replies Created
-
Apologies I mentioned I was using a different version to what I actually am, I have upgraded to Version 2.0.66.29, which caused an error stating an issue with the template.
Using the fix mentioned above I can confirm that it works good removing all quotes from the shortcode.
I can confirm this works a treat!!
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Hidden ElementsDo you think there is any possibility that you may be able to get the fix out before Sunday David?
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Hidden ElementsOne last thing, the error above is based on me doing a manual formula. If I deselect the manual formula and use your point and click selection of the two fields it then works as expected.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Hidden ElementsCheers David, ignore my title for this thread as the example I have given doesn’t use hidden elements.
All I have is a slider, a drop down box and a total field, the total should be a multiplication of the two but cannot get it to work.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Hidden ElementsHi David,
Thought it may help to have the whole Javascript function that is failing to see what is going on:
<script type="text/javascript"> jQuery(function($){ function checked_total_fld_2628740_1(items){ var sum = 0; items.each(function(k,v){ sum += parseFloat($(v).val()); }) return sum; } function docalc_fld_2628740_1(){ var fld_8054423_1 = parseFloat( $('[data-field="fld_8054423_1"]').is(':checkbox') ? checked_total_fld_2628740_1($('[data-field="fld_8054423_1"]:checked')) : $('[data-field="fld_8054423_1"]').is(':radio') ? $('[data-field="fld_8054423_1"]:checked').val() : $('[data-field="fld_8054423_1"]').val() ) || 0 , fld_6702947_1 = parseFloat( $('[data-field="fld_6702947_1"]').is(':checkbox') ? checked_total_fld_2628740_1($('[data-field="fld_6702947_1"]:checked')) : $('[data-field="fld_6702947_1"]').is(':radio') ? $('[data-field="fld_6702947_1"]:checked').val() : $('[data-field="fld_6702947_1"]').val() ) || 0 , total = (fld_8054423_1_1*fld_6702947_1_1); total = total.toFixed(2); $('#fld_2628740_1').html( total ); $('[data-field="fld_2628740_1"]').val( total ).trigger('change'); } $('body').on('change keyup cf.remove cf.add', '[data-field="fld_8054423_1"],[data-field="fld_6702947_1"],#conditional_fld_8054423_1,#conditional_fld_6702947_1', function(e){ docalc_fld_2628740_1(); }); docalc_fld_2628740_1(); }); </script>
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Hidden ElementsSome extra information to go on, this is the line where the error is occuring:
`
var fld_8054423_1 = parseFloat( $(‘[data-field=”fld_8054423_1″]’).is(‘:checkbox’) ? checked_total_fld_2628740_1($(‘[data-field=”fld_8054423_1″]:checked’)) : $(‘[data-field=”fld_8054423_1″]’).is(‘:radio’) ? $(‘[data-field=”fld_8054423_1″]:checked’).val() : $(‘[data-field=”fld_8054423_1″]’).val() ) || 0 , fld_6702947_1 = parseFloat( $(‘[data-field=”fld_6702947_1″]’).is(‘:checkbox’) ? checked_total_fld_2628740_1($(‘[data-field=”fld_6702947_1″]:checked’)) : $(‘[data-field=”fld_6702947_1″]’).is(‘:radio’) ? $(‘[data-field=”fld_6702947_1″]:checked’).val() : $(‘[data-field=”fld_6702947_1″]’).val() ) || 0 ,
total = (fld_8054423_1_1*fld_6702947_1_1);
‘Notice that the field is referred as fld_8054423_1 when it is referenced in the parseFloat function but when utilised in the total section at the end it is trying to find fld_8054423_1_1 which doesn’t exist.
This is a very simple form with one slider, a drop down select and a hidden field with a total that works on the two elements.
Cheers David.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Range Slider Form ElementCan’t thank you enough!!
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Range Slider Form ElementMany thanks for including the range slider David, I’ve had a little play and it is superb, I will soon be including it on my site!!
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Range Slider Form ElementMany many thanks David, this is much appreciated, looking forward to trying it out, I’m on hols until the 1st August but will definitely giving you some feedback then.
Cheers again David.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Range Slider Form ElementThat would be amazing, you are a star!!!
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Range Slider Form ElementThanks for coming back to me David.
When is the next release due out?