I need to replace some number fields in a cred form with jQuery UI slider.
I 've got the slider working outside of the form, but not inside the cred form. Inside the form, style info is somehow stripped.
Any ideas?
Right now, the shown slider is outside of the form. I have connected it with the first number input, just as a proof of concept. It shouldn't be there, but as I put it inside the form, style is stripped and the slider disappears.
I need all number inputs to be shown as sliders.
Please check it out, your expertise will be appreciated.
Input fields are now converted to sliders, but the range values are not monitored (set below sliders), so the user does not know the value he is setting. However, range values are correctly set in the database. There is a glitch with the JS somewhere.
Please note, I have added another slider and also changed slider numbers.
I have noticed that if I clear the browser cache, the slider works as expected. On next load of the page (form) and all subsequent times, range value always remains at zero.
Apparently, the jQuery UI slider is not reliable, as it works differently on different systems.
I tried bootstrap-slider (hidden link) instead and found it consistent and reliable.
Cheers,
Kostas
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.