Support » Plugin: Pods - Custom Content Types and Fields » Error: Content, title and excerpt are empty

  • Resolved valuemyask

    (@valuemyask)


    A user tester got the error in the title.

    It made me wonder if I could really do what I want with Pods.

    I would like to remove the requirement for content and excerpt for form submission in the front end.

    Is there a way to do this without hidden fields or messing with too much code?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @valuemyask

    If the post type does not require a content or excerpt value then you don’t need it for forms.
    However, this is depending on your CPT configuration.
    How are you displaying a form at the moment?

    https://docs.pods.io/faqs/what-can-you-build-with-pods/

    Cheers, Jory

    Thread Starter valuemyask

    (@valuemyask)

    Oh! Found it in “Supports” under the advanced section. I thought “Editor” was the role, like “Author”. It would be kind of cool to display the person that clicked publish and the person that drafted it.

    I used the Forms block in the Gutenberg editor, since I’m not budget approved for gravity forms.

    Unfortunately it has zero form validation for websites, and my user testing group wondered if the entries were scrubbed for MySQL injection. Can you confirm they are?

    • This reply was modified 1 year, 10 months ago by valuemyask.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @valuemyask

    We follow best practices in terms of input validation, however, user input should always be verified. We do not provide any form of any-spam checks that plugins like Gravity Forms do.
    I personally only advice Pods Forms for experienced developers to can easily create PHP wrappers to properly configure these forms.

    It would be kind of cool to display the person that clicked publish and the person that drafted it.

    If you let the CPT support authors you could add it into the form. However, you need a logged in user in order for this to work.

    Cheers, Jory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: Content, title and excerpt are empty’ is closed to new replies.