• Resolved danielastron

    (@danielastron)


    Hello

    I’ve done a form that when I press the calculate button, the results will be showed up after that action.

    In order to do this, I searched for a topic in this forum and found that I could use the css line ”hide”, on the calculated fields and sections break, and use the line ”jQuery(‘.cff-calculated-field.hide’).removeClass(‘hide’); ” in the calculate button.

    The problem is that only calculated field are being showed after the click button, and my sections break sentences are still hide.

    So, what is the Jquery code line to also make my sections break show after clicking the button? I could not find this in the documentation of cff.

    I would be very tankful if someone teach me how to do this properly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter danielastron

    (@danielastron)

    I just figured it out, I should use ”jQuery(‘.section_breaks.hide’).removeClass(‘hide’);”

    Plugin Author codepeople

    (@codepeople)

    Hello @danielastron

    Perfect !!! but if you want to show all hidden fields at once, you can use the piece of code:

    
    jQuery('#fbuilder .hide').removeClass('hide');
    

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OnClick event Jquery’ is closed to new replies.