How to call a function on Form Options - Javascript

Roberto created the topic: How to call a function on Form Options - Javascript

Hi,
I have a function:
$('.time').clockTimePicker();
and I want to call it onclick of a text field:
wdform_19_element7
How can I do it? Can you suggest me the code?
P.S.
With this new update of Form Maker Pro I can not find anymore the name of the fields as in the previous version. Where I can find them?
Thanks
Regards
Roberto

#90543

Please Log in or Create an account to join the conversation.


Anoush replied the topic: How to call a function on Form Options - Javascript

Hello Roberto,

Please note that the field (which shows the element ID) has been removed in the latest version of Form Maker. But you can take the ID of that field just inspect element on that field from the frontend.

Roberto as we see you are an advanced user and you should know the steps for doing the changes you want.

Thanks and have a good day!

#90597

Please Log in or Create an account to join the conversation.


Roberto replied the topic: How to call a function on Form Options - Javascript

Hi,
I really appreciate the compliment, but I don't think that's very likely.
I really need to know how to call the function:
$('.time').clockTimePicker();
on form options
I am not javascript (jquery) expert. I know very well wordpress but not so much programming so I will really need a quick tip on how to do it.
Please
Thanks in advance for your support.
Regards
Roberto

#90599

Please Log in or Create an account to join the conversation.


Anoush replied the topic: How to call a function on Form Options - Javascript

Hello Roberto,

Please check the attached file, I am showing how you can take the element ID. After taking the ID from the field you want, please add in the red marked place to the below code > copy/paste in the Custom JavaScript section of that form.

jQuery(document).ready(function() {
jQuery('#wdform_19_element7').clockTimePicker();
});


Hope this will be helpful for you. Thanks and have a wonderful day :)

#90619
Attachments:

Please Log in or Create an account to join the conversation.


Roberto replied the topic: How to call a function on Form Options - Javascript

Thank you very much!
It works perfectly!!!
Really Thanks for your help.
See the result in the attachment. is it nice, isn't it?
Regards
Roberto

#90621

Please Log in or Create an account to join the conversation.


Roberto replied the topic: How to call a function on Form Options - Javascript

here is the attachment

#90623
Attachments:

Please Log in or Create an account to join the conversation.


Anoush replied the topic: How to call a function on Form Options - Javascript

Dear Roberto,

Great :) Thanks for writing us and keeping updated with the results. Yes, it looks awesome!


And if you have a couple of minutes, kindly share your feedback on WordPress.org, telling about your personal experience with Form Maker and our service here. .


Thanks again!

#90645

Please Log in or Create an account to join the conversation.


Time to create page: 0.169 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us