• Resolved lundie1270

    (@lundie1270)


    Hello,

    I have a large form which has several page breaks, when I hit next I am taken through to the next section. However the new section doesn’t load to the top of the screen/page.

    Is this a general WordPress issue or your plugin, can you advise?

    Also is there a way to hide the upload path on a file upload summery field? – I just need the file name.

    Many thanks in advance

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

    (@codepeople)

    Hello @lundie1270,

    The summary fields display the labels and values of fields, and in the HTML standard the value of an input tag with the type=”file”, is the path to the selected file (including the file’s name), and it is the correct behavior. If you need a different behavior for the summary field, I can offer you a custom coding service from my personal website:

    https://cff.dwbooster.com/customization

    Concerning to the multi-pages form, the plugin sets the focus in the first focusable field of next page, to get a different behavior, please, follows the steps below:

    1. Open the “/wp-content/plugins/calculated-fields-form/js/fbuilder-pro-public.jquery.js” file with the text editor of your choice.

    2. Go to the piece of code:

    if( ffocusable.length )

    and edit it as follows:

    if( false && ffocusable.length )

    3. Finally, go to the settings page of the plugin (through the menu option: “Settings/Calculated Fields Form”), untick the “Activate Javascript Cache” checkbox, and press the “Update” button, to ensure the changes take effect.

    Best regards.

    Thread Starter lundie1270

    (@lundie1270)

    Hello,

    Thank you for the quick reply.

    I can’t seem to find the line of code you have suggested to edit. I am using Dreamweaver CC, I have used the find tool and nothing comes up.

    Can you advise.

    Many thanks

    Plugin Author codepeople

    (@codepeople)

    Hello @lundie1270,

    Please, look the image below, it indicate the line in the file you should modify, of course, the URL is to my demo website, but your copy of the plugin includes the same file:

    Javascript File

    Best regards.

    Thread Starter lundie1270

    (@lundie1270)

    Hello,

    Thanks for this. I see the issue – in my version of this file everything between Try and catch(e) is missing/incorrect. I will give this ago.

    Many thanks

    Plugin Author codepeople

    (@codepeople)

    Hello,

    In this case, I recommend you to install the latest update of the plugin.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page Break – Scrolling to top’ is closed to new replies.