Home Forums General Issues Front End Form Validation Error


Front End Form Validation Error

  • I am using the front end form and keep getting this error

    Line 239, Column 242: Element link is missing required attribute property.
    …hunter/wp-includes/css/editor.min.css?ver=3.5.2' type='text/css' media='all' />

    I believe it is not validating because it is in the body and not the head. I am trying to deregister the editor.min.css and place it in the head but I have had no luck. I modified the function Elliot had to remove the wp-jquery-ui-dialog and it worked great but I can’t figure out editor. Here is what I have:

    function my_deregister_styles() {
    		wp_deregister_style( 'wp-admin' );
    		wp_deregister_style( 'wp-jquery-ui-dialog' );
    		wp_deregister_style( 'wp-editor' );
    • Elliot

    • July 17, 2013 at 2:53 pm

    Hi @caputodesignz

    I can’t recall the function to ‘remove the wp-jquery-ui-dialog’. Can you elaborate on this?

  • I am using the front end form function for ACF to allow users to submit a post on this page:

    Everything is working but I want this page to pass W3C validation. If you look here it finds an error with the css file being called:

    Here is the error:

    Validation Output: 1 Error
    Error Line 209, Column 242: Element link is missing required attribute property.
    …hunter/wp-includes/css/editor.min.css?ver=3.5.2' type='text/css' media='all' />
    Attributes for element link:
    Global attributes
    Also, the title attribute has special semantics on this element.

    The editor.min.css call is causing the issue. I am trying to remove this from the page so I can put it in the header when this page is used. That cleared up the same error for the jquery.ui.min.css.

    Is there a way to stop this from auto loading with the page when using front end form and calling it yourself?

    • Elliot

    • July 18, 2013 at 1:02 pm

    Hi @caputodesignz

    Sorry mate, I’m actually not sure. I’ll have to wish you good luck in your debugging.

    Perhaps start with the ‘core/api.php’ (acf_form_head function) to see if commenting out the enque scripts action helps.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.