• Resolved namgostar

    (@namgostar)


    I have created both a custom registration form, as well as a custom update profile form for one of my membership levels.
    The documentation I have read through doesn’t seem to explain how to add the custom ‘update profile’ form to the /membership-login/membership-profile/ page.

    Can you help explain what short code I would place?

    Furthermore,the custom form for the update profile has asterisks next to the fields with username, name, email, password, etc. Why would those be marked with asterisks on the update profile form? Because asterisks are for fields that still need to be filled… Although those items should already exist. Do you think there is something off about how my update profile form is structured?

    https://wordpress.org/plugins/simple-membership/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, have you read through the following instructions yet?

    Thread Starter namgostar

    (@namgostar)

    Yes. I have read that documentation.
    Here’s the thing. I need to place a shortcode in my Update Profile page: /membership-login/membership-profile/
    Remember, this is updating a profile, NOT registering for the first time.
    But, with the use of the shortcode: [swpm_registration_form level=3], I am literally inserting a registration form into my Update Profile page.
    Do you see where the problem is? Now the form on the update profile page is BLANK, as if someone is registering for their membership for the first time. The reason for this page is to UPDATE information… it should already be partially filled in as well.
    Do you understand what I’m saying?

    I even feel that while creating the “update profile” form, I would be able to make it behave differently from the “registration” form. Because they are not the same thing. The update profile, should not need asterisks at the information that has already been provided during registration. But, when I am editing my custom update profile form, I cannot remove those asterisks. Something seems off.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, the Form Builder Add-on creates a profile form automatically when you crate a registration form. If you edit the registration form it should automatically update the profile form. If it doesn’t simply delete the profile form and create a new one for the same membership level. The profile form has to be identical to the registration form.

    The shortcode for the profile form is as follow.

    [swpm_profile_form]

    The above shortcode needs to be added to the profile page.

    You should not have to change this shortcode. The plugin will know which profile to pull when a member logs in.

    Thread Starter namgostar

    (@namgostar)

    I have put this shortcode in my /membership-login/membership-profile/

    [swpm_profile_form level=3]

    This is now the error I get:

    Form build error. Form not found
    Warning: Invalid argument supplied for foreach() in /home2/jgerber/public_html/ancestraldoctors.org/wp-content/plugins/swpm-form-builder/includes/form-output.php on line 47

    adding: [swpm_profile_form] gives me the same error.

    *Note- both the registration and the profile update forms are identical.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi make sure you have one form and one profile form for every membership level.

    Thread Starter namgostar

    (@namgostar)

    Yeah! This was the solution!

    I did not realize there was importance in creating one for every level. I only needed a custom form for ONE of my levels, so I didn’t bother making one for the others.

    Once again, I appreciate your patience in helping me with this problem.

    All is now good!

    edit: this link helped me as well: http://mbrsolution.com/tutorial/wordpress-simple-membership-form-builder.php#comment-6693

    Plugin Support mbrsolution

    (@mbrsolution)

    I am happy to hear 🙂

    Enjoy the plugin…..

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘shortcode for update profile -custom form’ is closed to new replies.