Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix info not saved #182

Open
artmem opened this issue May 24, 2018 · 0 comments
Open

Matrix info not saved #182

artmem opened this issue May 24, 2018 · 0 comments

Comments

@artmem
Copy link

artmem commented May 24, 2018

I have a form with a custom matrix field. It displays properly on the front end (though I can't get the "add a block" button working), but the data entered isn't saved when I submit the form.

My Matrix handle is 'parts' and the only block is 'part'. I'm using code based on the example in the docs:
<input type="hidden" name="fields[parts][new1][type]" value="part"> <label for="frm_partNumber">Part Number</label> <input type="text" id="frm_partNumber" name="fields[parts][new1][fields][partNumber]"> <label for="frm_description">Description</label> <input type="text" id="frm_description" name="fields[parts][new1][fields][description]"> <label for="frm_quantity">Quantity</label> <input type="text" id="frm_quantity" name="fields[parts][new1][fields][quantity]">
Am I missing something for getting the data to save?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant