Home Forums Plugin Support WP User Frontend Pro Registration Form (Update Button) – wpuf_frontend is not defined

This topic is: resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Colin 4 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31596

    Aaron
    Member
    Post count: 39

    I have added the Edit Form Shortcode to a page template using: echo do_shortcode( '[wpuf_profile type="profile" id="4616"]' );

    but when the submit button is clicked i get a console error of:

    Uncaught ReferenceError: wpuf_frontend is not defined —>frontend-form.js?ver=4.0:156 WP_User_Frontend.formSubmit —>jquery.js?ver=1.11.1:3
    m.event.dispatch —>jquery.js?ver=1.11.1:3
    r.handle —>jquery.js?ver=1.11.1:3

    If i create a new wordpress page and put the in ShortCode it works. http://aaronkine.staging.wpengine.com/update-your-profile/

    How can i use the Shortcode within a custom template page?

    #31616

    Nayem
    Moderator
    Post count: 6480

    Hello Aaron,

    You can insert short code in a blank page that's how our pages work. But you did some customization for that you are getting this error. I am really sorry to say that we do not provide support for any customization. You can read our support policy here- http://wedevs.com/support-policy/.

    Thank you ๐Ÿ™‚

    #32368

    Colin
    Member
    Post count: 1

    I'm getting the same error when saving a signup or edit form, it works ok if you use the shortcode in a page but if you use it in a template file like this < ?php echo do_shortcode('[wpuf_profile type="profile" id="#"]'); ?> you just get the error when you try and save a form… http://d.pr/i/1bVHq is there any fix for this?

    Thanks in advance!
    Ollie.

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

The topic ‘Registration Form (Update Button) – wpuf_frontend is not defined’ is closed to new replies.