How can I / can I use event.js on front

WordPress Event Management, Calendars & Registration Forums General Question How can I / can I use event.js on front

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 11 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3603

    Or a part of it any way. What I would like to accomplish is to live update the date selections on my front end submission form. Like how you show on the back where it would change the text from”This event will start on xx run every x days” .

    Would this be difficult to do? Could I just include the script on the page with the form and use the same ID’s and classes? (I have no idea…)

    Also how do you display the preview below as I type this?

    One more thing can you add this to your css div.bbp-submit-wrapper {float: left;} the submit button is hidden on an iPhone.

    `

    • This topic was modified 11 years, 10 months ago by  Michael.
    Michael
    #3640

    I wouldn’t include event.js -it may break things. But you can look at the relevant part of the code ( https://github.com/stephenharris/Event-Organiser/blob/master/js/event.js#L239)
    – the code needs a tidy-up and I might make changes to it (which could break your use of it, if you include it on the front-end).

    It also uses sprintf for JavaScript ( https://github.com/stephenharris/Event-Organiser/blob/master/js/event.js#L643 ) – include in the same file.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.