• Resolved luisef

    (@luisef)


    Hi
    I need some direction to solve 2 problems in my forms.
    1 – I have a page with 4 Forms. As they are very similar I have built the first one and then cloned it to build the other 3. These Forms return an answer, in text format, for any of them, and have a reset button.
    https://epadb.com/cat-for-reviews-and-rcts/
    I don′t know why but answering one will change the text result in others if not reset.
    2 – Is there any limitation to the Dependencies in dropdown fields? It seems I can’t do more than 2 dependent fields.
    Best regards

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @luisef

    You can define the number of dependencies you need. Please, watch the video I’ve recorded right now visiting the following link:

    https://wordpress.dwbooster.com/customdownloads/2020/09/06/video-o.mp4

    Concerning the text fields, you are using the same class name in the different forms: result-here. So, the following piece of code will affect every tag on the page with the class name assigned:

    
    jQuery('.result-here').html(result);
    

    The previous code will affect the fields with the class name: result-here in all the forms inserted on the page.

    Best regards.

    Thread Starter luisef

    (@luisef)

    Thank you very much for the reply
    I’m going to proceed with changes to the results problem.
    As to the dependencies, that’s exactly how I’m doing. Something is wrong about any procedure. I simply what to show a text input box and a CP Print button.
    Best regards

    Plugin Author codepeople

    (@codepeople)

    Hello @luisef

    The dependencies are not related to the “Print Button”; they are separated process.

    Please, try clearing the browser’s cache and reload the forms builder. If the issue with the dependencies persists, do not hesitate to contact me through my private website:

    https://cff.dwbooster.com/contact-us

    Best regards.

    Thread Starter luisef

    (@luisef)

    1 – Showing results, solved!
    2 – Dependence is now working fine, in preview mode, my Opera cellphone, but not on desktop. Very strange!
    3 – To print (with CPBlocks) I’m using printForm(‘[id*=”cp_calculatedfieldsf_pform”]’); and on “OnClick event” changing “id” to the form “id”. But it won’t work. Any suggestions?

    Plugin Author codepeople

    (@codepeople)

    Hello @luisef

    I’m visiting your online form, and I see the dependencies are working. Please, let me know the dependencies that are not working as should.

    For printing the form, the piece of code you are using has no sense: printForm('[12*="cp_calculatedfieldsf_pform"]');

    The correct id: printForm('[id*="cp_calculatedfieldsf_pform"]');

    Best regards.

    Thread Starter luisef

    (@luisef)

    Dependences are ok.
    I’ve changed the print code and in the preview works fine now. Than you.
    My form has some hidden help text, only visible when clicking the Help button.
    Is there some way to exclude it when printing.
    Best regards

    Plugin Author codepeople

    (@codepeople)

    Hello @luisef

    If you assign to these fields a custom class name, for example: no-print and you enter the following style definition as part of the form:

    
    @media print{
    .no-print{display:none !important;}
    }
    

    These fields won’t be printed. However, these questions are not related to our plugin. These are basic knowledge of CSS.

    Best regards.

    Thread Starter luisef

    (@luisef)

    Ok, Thank you very much.
    I’ll try to implement those CSS changes.
    Once again thank you for this great support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Forms results interaction and dependencies’ is closed to new replies.