• Resolved tceg

    (@tceg)


    Hi,

    I’ve created a custom profile form but it’s not showing under the profile? I’ve also added a custom field to the registration form but it’s under account in the profile. Basically the field I add to the registration needs to show up under the account fields

    any help would be appreciated, thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    UM doesn’t have the Account form builder. You will have to customize it with UM hooks. Or if you’re confused, Profile is different from Account. The profile has the form builder and the Account has no form builder. Profile form should show in /user/ page and account form shows in /account/ page.

    Regards,

    Thread Starter tceg

    (@tceg)

    Makes sense but is there a way to have the custom field I added to the registration for appear under account?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    Unfortunately, this requires customization. You can check this tutorial on how to add the custom tabs with custom form fields.

    Regards,

    Thread Starter tceg

    (@tceg)

    Hi @champsupertramp

    Thank you for the response

    I’ve gone through the tutorial and setup a profile form but nothing appears under the custom tab

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    Could you please provide the code that you’ve added? Likes this code snippet:

    $mytab->add_tab( array(
    	    "tab_id" => "mycustomtabname",
        	"title" => "My Custom Tab",
        	"button_title" => "Save",
        	"icon" => "um-faicon-users",
        	"position" => 0, // first tab in the Account form
        	"form_id" => 123,
        	"before_content" => "",
        	"after_content" => "",
        	"shortcode" => "",
     ) );

    Regards,

    Thread Starter tceg

    (@tceg)

    I Use the exact code in the link you send just to see if it pulls through the profile form but nothing appears the tab, title and button is added.

    • This reply was modified 3 years, 8 months ago by tceg.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    Did you put anything in the attributes? It will display empty if you keep the exact code I’ve provided.

    Try adding the values in the following attributes:

    "before_content" => "",
     "after_content" => "",
     "shortcode" => "",
    

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @tceg

    Also, did you change the form_id in the code?

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Profile form not working’ is closed to new replies.