Forum

Thread tagged as: Problem, Addons, Members

Perch Members - Add new forms

Hi,

So I'm using the members app, and adding extra fields to the profile.html correctly adds the fields and their values (all good there).

However, if I add a new template (details.html) and change the form ID

<perch:form id="details" method="post" app="perch_members">

...then pull in the new form in my php file:

perch_member_form('details.html');

This fails to work (I can type into the fields on my php file and save, but they are not added to my member account).

If I do the exact same thing with the profile.html file, it all works fine. Am I missing something?

Matthew Lymer

Matthew Lymer 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you added the fields to member.html too? That's the master template for a member.

Hi,

Yes I have, and added them in the <perch:member format.

Either way - adding fields to profile.html works as it should (even when the fields are not in member.html) but adding to my custom html file doesn't work.

Regards,

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us?