Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8807105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:17:29+00:00 2026-06-14T02:17:29+00:00

I am using the jQuery Fullcalendar plugin. On the same page, I have a

  • 0

I am using the jQuery Fullcalendar plugin. On the same page, I have a form with checkboxes which are used to filter the event data fetched from the server. The idea is that I want to pass those form values into the eventSources object, so that they get transmitted to the server together with the start/end timestamps.

The docs have a sample eventSources object like this:

$('#calendar').fullCalendar({
   eventSources: [
     // your event source
      {
        url: '/myfeed',
        type: 'POST',
        data: {
          custom_param1: 'something',
          custom_param2: 'somethingelse'
        },
      }
      // other sources...
   ]
});

Which I modified to:

   eventSources: [
   {
     // ...as above
     data: getFormAsObject(),
     // as above...
   }

I want the form’s values to get passed into the the data object. In the getFormAsObject() function, I serialize the form and convert that to an associative array.

All that is left is to hijack the form submission. So if the “submit” button is clicked, I cancel the default POST action, and call

calendar.fullCalendar("refetchEvents");

BUT, this doesn’t work, and the getFormAsObject() doesn’t get called at all. What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:17:30+00:00Added an answer on June 14, 2026 at 2:17 am

    Problem is (it seems) that Fullcalendar only reads that data object once. So it reads it the first time and then not again, even if I set it to a function. I’m not certain, but I think it may be how the underlying ajax() call works?

    So I’ve changed it to remove the eventSources and then readd new ones every time I do an update. Seems ugly, but works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im using fullcalendar jquery plugin in my web. i have a problem in which
I am using jQuery fullcalendar plugin , I have tried altering this many different
I am using jquery fullcalendar which works great. The one issue I have is
Using jQuery, how can I: Have all checkboxes on a page turned checked on
I'm using the 'FullCalendar' jQuery plugin however the format of my date string data
I'm currently using the jQuery fullcalendar plugin but I've came across an issue regarding
The jQuery fullCalendar plugin seems to have a problem in the editable mode in
Inside my app I'm using a jQuery plugin, FullCalendar - it is a jQuery
I am using Jquery UI Dialog box with FullCalendar plugin. My problem is UI
Hello I'm using the fullcalendar jQuery plugin to create a calendar app. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.