svenratkajec
Forum Replies Created
-
Dont bother, it works!
Thanks for all the help and wish you the best!Hi!
Thanks for the explanation!
But can it be maybe done with javascript?
Forum: Developing with WordPress
In reply to: importing custom fieldsThis can be pretty hard to do if you have no experience in coding. All this is done with javascript. The simplest solution i propose to import custom js is to download a “Custom CSS and JS plugin” and make a new js snippet.
- Study a documentation of Automobile Data API to learn how to send a GET request for the wanted resource
- Google how to send a fetch request with vanilla javascript and get data
- You shall get a JSON format (similar format to arrays which are important concept of javascript) after fetching the data and then you can start working on displaying the data (getting the element by classname and embed HTML content into it). Note that you fetch every json object with FOR EACH loop (though everything about it should be explained in a video if you search how to send a fetch request).
That should be pretty much all. If i missed something feel free to ask.
Best regards and wish you success in this task!Brilliant and detailed support team!
Thanks for the help, it works.Okay, thanks for the reply.
But i manually remove them when the date passes so its the same thing so i was just wondering if that was possible to be automatic.
Best regards!
Forum: Developing with WordPress
In reply to: importing custom fieldsYou can try downloading a car brands JSON file from internet (https://github.com/matthlavacka/car-list/blob/master/car-list.json) and then fetch it with REST API and put them in select option or whatever you have.
- This reply was modified 1 year, 6 months ago by svenratkajec.
- This reply was modified 1 year, 6 months ago by svenratkajec.
Forum: Fixing WordPress
In reply to: Hidden composite product pluginTry to hide it with CSS, if I understanded the problem correctly.
Hello @wpmudevsupport14,
I tried this code using “Custom CSS and JS” plugin and it doesn’t work…
jQuery(document).ready(function( $ ){ setTimeout(function() { $('.forminator-custom-form-8839').trigger('after.load.forminator'); },100); $(document).on('after.load.forminator', function(e, form_id) { $('#forminator-field-date-1-picker_646a28aaca909 input').on('focus', function(){ setTimeout(function(){ if ($('.ui-datepicker-today').hasClass('disabledDate') ) { $('.ui-datepicker-today').addClass('disabledToday'); } },100); }); }); });
- This reply was modified 1 year, 6 months ago by svenratkajec.
It works, thanks!
Hello @wpmudevsupport11,
I tried this code using “Custom CSS and JS” plugin and it doesnt work… is it possible to do this with full javascript code? And also i want it to be listening for step change only for form with id = forminator-module-8839
Sorry for bothering and thanks for the reply!Thank you, it works.
- This reply was modified 2 years ago by svenratkajec.
Thanks! Everything works.
Thanks @wpmudevsupport11 !!
Sorry to bother you but you but can you also tell me how to center those numbers in calendar and add border radius to the number cell? But not disabled dates but all datesBest regards,
Sven- This reply was modified 2 years, 9 months ago by svenratkajec.