• Resolved benbattaglia

    (@benbattaglia)


    On page 2 of my form here I’ve added instructions which show in a tooltip, these work fine on desktop, but on mobile they disappear after a few seconds, how can I stop this?

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

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

    (@codepeople)

    Hello @benbattaglia,

    It is the common and correct behavior for tooltips on mobiles, because on mobiles devices there are not mouseover/mouseout events, so, the tooltips should be visible for some seconds, and then should be hidden automatically.

    What behavior you prefer?

    Best regards.

    Thread Starter benbattaglia

    (@benbattaglia)

    It’s just not enough time to read the instructions I’ve added, and I don’t think most people will know to click off then on the field again to see it..
    maybe increasing the time to 10 seconds or something..

    Plugin Author codepeople

    (@codepeople)

    Hello @benbattaglia,

    Please, follow 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 following piece of code:

    
    setTimeout( function(){ $(ui.tooltip).hide('fade'); }, 3000);
    

    and edit it as follows:

    
    setTimeout( function(){ $(ui.tooltip).hide('fade'); }, 10000);
    

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

    And that’s all.
    Best regards.

    Thread Starter benbattaglia

    (@benbattaglia)

    Thats great, just wondering, would this be better to do in the child theme?

    Plugin Author codepeople

    (@codepeople)

    Hello @benbattaglia,

    I’m working in an update of the plugin that allows to define this number as an attribute in the form’s shortcode.

    All attributes defined in the shortcode, except “id” and “class”, are converted in javascript variables with a global scope, so, a better solution would be check for a specific variable, and if it exists, then use its value for hiding the tooltips.

    Best regards.

    Thread Starter benbattaglia

    (@benbattaglia)

    ahh ok, I’ve made this change and it has worked so thanks, I guess the shortcode update will be in the next version?

    Plugin Author codepeople

    (@codepeople)

    Hello @benbattaglia,

    Yes, the modification will be included in the next update, that would be published today or tomorrow.

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hello @benbattaglia,

    I’ve published the new version of the plugin. Concerning to the time interval assigned to the tooltips on mobiles devices, you can find the details about its configuration in the following link:

    https://cff.dwbooster.com/faq#q328

    Best regards.

    Thread Starter benbattaglia

    (@benbattaglia)

    Hi Thats great, thanks.

    I’ve just updated via wp and I’m now getting errors? The form isn’t showing on the front-end and I cant access the settings in the back-end?

    Thread Starter benbattaglia

    (@benbattaglia)

    Ignore that, it was an issue as I had an old version installed and deactivated.. I’ve fixed it now, and it’s working great, thanks a lot!

    Plugin Author codepeople

    (@codepeople)

    Hello @benbattaglia,

    Thank you very much for letting me know that everything is working properly again.

    Best regards.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Instructions Tooltip’ is closed to new replies.