• I’ve used conditions to show a textfield if a specific value in a select field is chooosed.

    After saving the post, i’ve got some message like “your template doesn’t fit the contents” in Gutenberg, i don’t remember the exact phrase. The message had two options, one was something like “restore template” or so.. and the other one was something like “leave it as it is”. I’ve choosed the second option.

    I never saw this kind of message in Gutenberg, i will update the text if i get it again.

    Afterwards i’ve got a white page caused by JS errors:
    “Uncaught (in promise) ReferenceError: condition is not defined”
    and
    “Error: Minified React error #321″.

    To solve it i’ve set enableCondition”:true to false in the database.

    • This topic was modified 4 years, 1 month ago by webksde.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webksde

    (@webksde)

    I got the template error again (translated from german):

    “The content of your post does not match the template assigned to your content type.”
    (“Der Inhalt deines Beitrags passt nicht zu dem Template, das deinem Inhaltstyp zugeordnet ist.”)

    Options:
    “Keep it as it is”
    (“So behalten, wie es ist”)

    “Reset template”
    (“Template zurücksetzen”)

    Hi @webksde

    I will look into this ASAP. Thank you for providing much details.

    Regards,
    Munir

    Hi @munirkamal,
    I have the same problem!
    Uncaught (in promise) ReferenceError: condition is not defined
    I can’t edit or see the form anymore (I see nothing but a white background)…
    This is the link: https://ferienwohnung-helchenberg.de/wordpress/kontakt/

    I really hope to get your help asap, thanks in advance,
    Alina

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Field conditions cause javascript error (critical, edit form won’t show up)’ is closed to new replies.