All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Events field required within safecracker

aaron 8 May 2013 15:22 problem, complete

Low Events field required (despite CP setting) within safecracker (even if field is not included in form). Receive error:
Start date is invalid
End date is invalid

Replies

  1. Low 8 May 2013 15:25

    Okay...

    What version of Low Events, EE and PHP are you running?

    What is your SafeCracker template code (use http://pastie.org/ for big chunks of code)?

    So you've set the LE field to Required in the field settings in the CP?

  2. aaron 8 May 2013 15:32

    Latest version of low events, and EE (2.6.1), mySQL I believe is 5.1.68

    http://pastie.org/7818476

    the LE field is not set to required in the CP (https://www.evernote.com/shard/s9/sh/...)

    aaron 8 May 2013 15:39

    In order to get the form to process I have added {field:live_date}, just figured this shouldnt be necessary
    thanks!

  3. Low 8 May 2013 15:39

    Does the Channel Field Group associated with the "articles" channel contain the Low Events field?

  4. aaron 8 May 2013 15:39

    Yes, I have one global field group for the different channels

  5. Low 8 May 2013 15:40

    That'll be why. But I can see how that can be confusing. I'll make a note of it to improve that behaviour in a future version.

  6. aaron 8 May 2013 15:42

    Cool, yea it wouldn't have come up but we added the field for admin use (through CP) and all the safecracker forms broke as a result. Thanks again!