• Resolved Daedalon

    (@daedalon)


    Everything else with the plugin has so far been excellent and the only rooms for improvement rather minor, except this one: the submission form created with [event_form] loses its contents on most errors.

    Whenever errors happen, the plugin should in each and every case display the form again with all the user-filled data prefilled, and the appropriate error messages so the user can correct the data. Now it’s common for someone to add for example a multi-day or recurring event with all the event information carefully formatted only to have it lost because of forgetting to fill a field or making a mistake with a date field.

    I can personally work around the issue although it’s a pain. Exposing other users to the same pain is out of the question, so the site we are doing is not possible until this is fixed.

    Hopefully this is fixed in the next plugin update. If there’s anything I can do to assist in this, please let me know.

    http://wordpress.org/extend/plugins/events-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • seems to be working fine on my test site, do you have a sample link for us to see?

    Thread Starter Daedalon

    (@daedalon)

    Unfortunately this site is currently not publicly accessible. However, today I couldn’t get the problem to occur. Yesterday it occurred in almost every error case. Even when entering only a title and pressing submit, all was lost.

    This has occasionally happened before, and I decided to finally report this yesterday when the data loss seemed systematical. Now it seems there are some specific conditions in which and only in which the data loss happens.

    A possible cause condition is if the form is successfully used to post an event. I’m trying this out soon and reporting on the results.

    Thread Starter Daedalon

    (@daedalon)

    Yes, that is a condition. So the steps to data loss are:

    • Successfully create an event using a page with [event_form].
    • After being redirected to the same page and when seeing the “You have successfully created an event” message, fill some of the required fields and submit the form.
    • At least for me, all that I entered was lost. The same happens in all subsequent submissions.

    This happens until the user manually reloads the page with the [event_form] so all its contents are loaded without any trace of a successfully submitted event eg. by going to the front page of the site and then clicking the Add new link that we have placed on the site.

    In this case, this is not an absolute showstopper for us, and I would rate this as “major” instead of “critical”. The site can be opened to a selected group of people, but not to the intended large audience without risking some really angry users – exactly those who would be happy multi-event-submitting power-users when this is fixed.

    Thread Starter Daedalon

    (@daedalon)

    Agelonwl: Were you able to replicate the above issue? For us it’s always reproducible.

    A second issue was also found: when submitting an event via an [event_form] that does not have any previous submissions in memory, the event image field contents are lost if there’s an error in the dates.

    For example the submission form of a recurring event that is set to start at 22:00 and ends at 03:00 and the user didn’t manually update the value of Each event lasts [ ] day(s) keeps all its other data except the Event Image field value.

    hi,

    sorry, I re-read your post and that’s how it works by default; you can modify template file at templates/forms/event-editor.php and use $_REQUEST to make previously entered values stayed.

    http://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter Daedalon

    (@daedalon)

    Thank you for the fast reply!

    Do you refer to the first issue (all data lost on any error on form when reusing a form after successful submission) or the second one (event image field value lost on error)?

    The first one I consider a major issue and would vouch for fixing it in the plugin core; the second is a minor one and I understand leaving that up to individual siteadmins to change.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    given the way the form is generated, if there’s a validation error, the invalid data should still show…. are you sure you’re not overriding your event form templates that doesn’t include this?

    if you could please seperate your questions to different topics, it’ll be easier to keep up.

    Thread Starter Daedalon

    (@daedalon)

    Thanks for the feedback, I’ll concentrate this topic on only the first issue.

    No form template customizations have been made thus far.

    Are you able to replicate the problem? Steps:

    1. Have Settings > General > Event Submission Forms > Show form again? set as Yes.
    2. Successfully submit an event on a page that contains only [event_form].
    3. As you’re redirected to the same page with a message that your submission was successful, use the same form to submit another event, only this time make an error, eg. leave some or all date fields empty.
    4. All entered form data about this second event disappears.

    thanks for the details. Now, I get this too.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    I think the dev version fixes this now. If not, the next dev version or update should do.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Events Manager] Submission form loses contents on errors’ is closed to new replies.