jQuery-based custom fields
-
Hey David!
Sorry to harangue you with questions, but after making the Google Calendar processor, I’ve been working on a custom field for picking dates/times off of an instance of FullCalendar.io. I found your github repo for custom fields, which I’ve been using.
I mostly modeled it after your rangeslider field, and it displays fine, but I’m having trouble getting form data out of the field as a whole. When a user clicks on an event, I’d like to make FullCalendar’s eventClick hook take the event’s id and hand that off to the rest of the form. I noticed that in some of the other fields, you used .on(“change”) to output the form data for rangeslider and datepicker (I think?). But I’m not sure what I should use to output information that’s essentially coming from a div.
Summary: where/how should I be outputting from a more complicated custom field? Or, what are some ways to make sure my value is getting to the viewer/handler functions?
Thanks again!
(edit: I put this as a separate support thread to help future searchers, and to keep the original from going off-topic)
- The topic ‘jQuery-based custom fields’ is closed to new replies.