User forms #157
There's a function called fm_renumber in fieldmanager.js that takes care of assigning the correct name and id attributes to HTML elements in a Fieldmanager_Group. See https://github.com/alleyinteractive/wordpress-fieldmanager/blob/user-forms/js/fieldmanager.js#L76
That functions looks for a class .fm-element for each element but the template for textfield is not adding it automatically on this branch, see https://github.com/alleyinteractive/wordpress-fieldmanager/blob/user-forms/templates/textfield.php#L2
This causes information in textfields in a group not to be saved correctly.
A workaround for this could be adding the field_class property to Fieldmanager_Textfield with this value: "fm-element text".
This was fixed on #209
I'm finally checking this out since
I've replaced all calls to
However, styles for the rendered form are a bit messed up:
Here's what it should look like normally:
Looks like that's happening because the parent of
Also, could someone resolve the merge conflicts so I can test with the changes from master?