WordPress.org

Forums

Form Maker
[resolved] Set slider to fixed increase amount? (9 posts)

  1. wzshop
    Member
    Posted 1 year ago #

    Hi,
    Is it possible for the slider (survey tool) to set a fixed amount of increase? So that every slide is for instance 100 more? Now it increases with variable amounts which is not feasible for me.
    Hope its clear what i mean:)

    Thanks,
    Robbert

    https://wordpress.org/plugins/form-maker/

  2. webdorado
    Member
    Plugin Author

    Posted 1 year ago #

    Dear wzshop,

    Unfortunately Form Maker's survey tools do not have this functionality.
    Thank you.

  3. wzshop
    Member
    Posted 1 year ago #

    Anyway to script this in?
    Thanks

  4. webdorado
    Member
    Plugin Author

    Posted 1 year ago #

    Dear wzshop,

    Please go to form-maker\frontend\views\FMViewForm_maker.php file and search the following:

    slider({

    And then please add step:10, (including the comma) after this:

    max: eval('.$param['w_field_max_value'].'),

    Thank you.

  5. wzshop
    Member
    Posted 1 year ago #

    Thanks, did that and it kinda fixes the problem.
    For some reason the range differs per browser. In addition, there is a differece between clicking somewhere on the slider (concerning the value you get) and actually slide the slider.... Does this make any sense to you?

    Thank you so much!

  6. webdorado
    Member
    Plugin Author

    Posted 1 year ago #

    Dear wzshop,

    Could you please tell us on which browsers are you trying to test the field? Also please provide the link to your website, so we'll be able to understand the problem.

    Thank you.

  7. wzshop
    Member
    Posted 1 year ago #

    I tried Chrome, FF and IE.
    Here is my site:
    goo.gl/8ZLqUg

    Thanks!

  8. webdorado
    Member
    Plugin Author

    Posted 12 months ago #

    Dear wzshop,

    The problem is, that the width is really short for the max value of 10000. That's why you're seeing this.
    Thank you.

  9. wzshop
    Member
    Posted 12 months ago #

    Hmm ok, thanks for checking.. weird though that browsers, clicking and sliding all give different values and steps...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.