Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Yes, you are right. I need to have a summary hidden by default, but your proposal of the change didn’t work for me.
    I open to supporting ticket.

    Hi, unfortunately, this doesn’t work. I now temporary remove hide on the summary container.

    My code looks like this now
    <!--BLOCK_ID_49--><button name="Calculate" type="button" class="calculate-button cervena" onclick="jQuery('.cff-calculated-field').removeClass('hide');">Spo?ítat vysledky</button><script>fbuilderjQuery(document).on('click','#fbuilder button.calculate-button.cervena',function(){var $=fbuilderjQuery,f=$(this).closest('form'),i,j,s,t;if(f.length){i=f.attr('id');if((s=i.match(/_\d+$/))!=null&&(t=$.fbuilder['forms'][s])!=null){t=t.getItems();$.fbuilder['calculator'].defaultCalc('#'+i);for(j in t)if(t[j].ftype=='fsummary')t[j].update();}}});fbuilderjQuery(document).on('click','#fbuilder button[type="reset"].cervena',function(){var $=fbuilderjQuery,f=$(this).closest('form'),i,s;if(f.length){i=f.attr('id');if((s=i.match(/_\d+$/))!=null&&$.fbuilder['forms'][s]!=null){$.fbuilder['showHideDep']({'formIdentifier':s});$("#fieldlist"+s+" .pbreak:not(.pb0)").css("display","none").find(".field").addClass("ignorepb");$("#fieldlist"+s+" .pb0").css("display","block").find(".field").removeClass("ignorepb");}}});</script><!--END_BLOCK_ID_49-->

    Thanks for very quick response, but I am using already you another nice plugin of CP blocks and there is already the following piece of code <!--BLOCK_ID_49--><button name="Calculate" type="button" class="calculate-button cervena" onclick="">Spo?ítat vysledky</button><script>fbuilderjQuery(document).on('click','#fbuilder button.calculate-button.cervena',function(){var $=fbuilderjQuery,f=$(this).closest('form'),i,j,s,t;if(f.length){i=f.attr('id');if((s=i.match(/_\d+$/))!=null&&(t=$.fbuilder['forms'][s])!=null){t=t.getItems();$.fbuilder['calculator'].defaultCalc('#'+i);for(j in t)if(t[j].ftype=='fsummary')t[j].update();}}});fbuilderjQuery(document).on('click','#fbuilder button[type="reset"].cervena',function(){var $=fbuilderjQuery,f=$(this).closest('form'),i,s;if(f.length){i=f.attr('id');if((s=i.match(/_\d+$/))!=null&&$.fbuilder['forms'][s]!=null){$.fbuilder['showHideDep']({'formIdentifier':s});$("#fieldlist"+s+" .pbreak:not(.pb0)").css("display","none").find(".field").addClass("ignorepb");$("#fieldlist"+s+" .pb0").css("display","block").find(".field").removeClass("ignorepb");}}});</script><!--END_BLOCK_ID_49-->

    How I can include to the current one of there is already onclick action?
    Thanks

    Hello,

    I have a have the option of Autocompletion and Eval dynamically the equations switched off. There is a button to calculate the summary. If I will type to the summary container to “Add Css Layout Keywords” type hide. All will be hidden. I need after click to calculate button to unhide and calculate results. Can you please help me with the script?
    Thanks
    Jaromir

    Thread Starter jmindl

    (@jmindl)

    no problem, I paid the support extension on your page

    Thread Starter jmindl

    (@jmindl)

    Absolutely briliant, thanks a lot

    Thread Starter jmindl

    (@jmindl)

    Thanks a lot for great a very quick response.
    If I will combine the calculation into the one of the extensive calculated field and not use the intermediate field I need to work with variable, which I will use for displaying in the summary

    I have following piece of codes (currenty in many of the fields) which need to go to be combined

    fieldname457

    (function(){

    if(fieldname444 == 1) return prec(fieldname443,0);
    if(fieldname444 == 2) return round(fieldname443/6);
    if(fieldname444 == 3) return round(fieldname443/12);
    })();

    fieldname458

    (function(){

    if(fieldname447 == 1) return prec(fieldname448,0);
    if(fieldname447 == 2) return round(fieldname448/6);
    if(fieldname447 == 3) return round(fieldname448/12);
    })();

    fieldname459

    (function(){

    if(fieldname453 == 1) return prec(fieldname454,0);
    if(fieldname453 == 2) return round(fieldname454/6);
    if(fieldname453 == 3) return round(fieldname454/12);
    })();

    fieldname464

    (function(){

    if(fieldname462 == 1) return prec(fieldname463,0);
    if(fieldname462 == 2) return round(fieldname463/6);
    if(fieldname462 == 3) return round(fieldname463/12);
    })();

    fieldname469

    (function(){

    if(fieldname467 == 1) return prec(fieldname468,0);
    if(fieldname467 == 2) return round(fieldname468/6);
    if(fieldname467 == 3) return round(fieldname468/12);
    })();

    fieldname474

    (function(){

    if(fieldname472 == 1) return prec(fieldname473,0);
    if(fieldname472 == 2) return round(fieldname473/6);
    if(fieldname472 == 3) return round(fieldname473/12);
    })();

    fieldname479

    (function(){

    if(fieldname477 == 1) return prec(fieldname478,0);
    if(fieldname477 == 2) return round(fieldname478/6);
    if(fieldname477 == 3) return round(fieldname478/12);
    })();

    fieldname484

    (function(){

    if(fieldname482 == 1) return prec(fieldname483,0);
    if(fieldname482 == 2) return round(fieldname483/6);
    if(fieldname482 == 3) return round(fieldname483/12);
    })();

    fieldname489

    (function(){

    if(fieldname487 == 1) return prec(fieldname488,0);
    if(fieldname487 == 2) return round(fieldname488/6);
    if(fieldname487 == 3) return round(fieldname488/12);
    if(fieldname487 == 4) return round(fieldname488/36);
    })();
    `

    If I need to use these pieces and calculate them all together, like:

    fieldname457+fieldname458+fieldname459+fieldname464+fieldname469+fieldname474+fieldname479+fieldname484+fieldname489

    How the final code would looks like?

    Thanks

    Thread Starter jmindl

    (@jmindl)

    Hello @codepeople

    I am sorry, but I do not understand fully what you mean by this statement. Can I remove this from the view or not?

    Thanks

    Thread Starter jmindl

    (@jmindl)

    Hello @codepeople

    Thanks, for your prompt response, unfortunately this doesn’t work. I still see the column.

    J,

    Thread Starter jmindl

    (@jmindl)

    I need to remove from the list column “Message” because this is for me quite long and makes the list a bit unreadable

    Thread Starter jmindl

    (@jmindl)

    Hello @codepeople

    This works good. All buttons works, but I am still struggling with the reason of different design and padding of buttons even they have been selected the same.
    https://www.vyzivne.com/wp-content/uploads/2018/07/buttons.png

    style of button

    <style>@import url(https://fonts.googleapis.com/css?family=Raleway:400);.btn201707130144{font-family:’Raleway’,Arial,sans-serif!important;border:none !important;background-color:#5666a5 !important;border-radius:5px !important;color:#ffffff !important;font-color:#000000 !important;cursor:pointer !important;padding:0px 30px !important;display:inline-block !important;text-transform:uppercase !important;line-height:46px !important;font-weight:400 !important;font-size:1em !important;outline:none !important;font-color:#000000 !important;position:relative !important;overflow:hidden !important;font-size:16px !important;border-radius:23px !important;letter-spacing:2px !important;-webkit-transform:translateZ(0) !important;-webkit-transition:all 0.35s ease !important;transition:all 0.35s ease !important;-webkit-box-sizing:border-box !important;box-sizing:border-box !important;}.btn201707130144:before{opacity:0 !important;content:”” !important;position:absolute !important;top:0px !important;bottom:0px !important;left:0px !important;right:0px !important;border-radius:inherit !important;background-color:#ffffff !important;-webkit-transition:all 0.3s !important;transition:all 0.3s !important;-webkit-transform:translateY(100%) !important;transform:translateY(100%) !important;}.btn201707130144:after{position:absolute !important;top:0px !important;bottom:0px !important;left:0px !important;right:0px !important;border:5px solid #5666a5 !important;content:” !important;border-radius:inherit !important;}.btn201707130144:hover,.btn201707130144.hover{background-color:#5666a5 !important;color:#ffffff !important;}.btn201707130144:hover:before,.btn201707130144.hover:before{-webkit-transform:translateY(0%) !important;transform:translateY(0%) !important;opacity:0.25 !important;}</style>

    I need to have 2nd and 3rd button the same s first and the same distance from each other

    Thanks

    Thread Starter jmindl

    (@jmindl)

    I got it. All works now. Thanks a lot for your support

    Thread Starter jmindl

    (@jmindl)

    This works perfectly. Thanks a lot for your support

    Thread Starter jmindl

    (@jmindl)

    Still doesn’t work. I will open a ticket.

    Thread Starter jmindl

    (@jmindl)

    Hello @codepeople,

    I am very sorry to say, but this doesn’t work. I tried many times. Can you please help?

    Thanks
    Best Regards
    Jaromir

Viewing 15 replies - 1 through 15 (of 33 total)