Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 565

Matrix is a custom fieldtype created by Pixel & Tonic to allow rows of data (or "matrixes") within a single entry.

0 votes
2 answers
540 views

Prevent duplicate rows with matrix when using ajax submit?

I'm having some trouble determining a good solution to save a Matrix field using Safecracker and AJAX. … From what I see matrix creates new rows by using field_name[row_new_0][col_id_xxx] or field_name[row_id_xxxx][col_id_xxx] when editing an existing row. …
leblancexplores's user avatar
1 vote

Prevent duplicate rows with matrix when using ajax submit?

It simply makes an additional request to the form to grab the matrix fields and reinitializes them. I had to trim this up so it may or may not work in it's entirety but you get the idea. … redirect to confirmation page } } } }); }); }); /** * function reloadMatrices() * * Requests the same form and replaces all instances of a Matrix
leblancexplores's user avatar
0 votes
2 answers
191 views

Get matrix row/cell data in entry_submission_end hook?

Anyone know the proper way to get data stored in a matrix row from the entry_submission_end hook for use in an addon? …
leblancexplores's user avatar
1 vote

Get matrix row/cell data in entry_submission_end hook?

This works but seems like there should be an api or hook to do this still in the event the Matrix code gets refactored. … Below is an example with some hardcoded Matrix col_id and field_id values. …
leblancexplores's user avatar