Editor isn't updating values on the page (DOM)
Editor isn't updating values on the page (DOM)
stevevance
Posts: 58Questions: 6Answers: 1
When you use the standalone editor (manual) the values on the page that were displayed before you edited them are supposed to change to the new, edited values, as long as you have the data-editor-field
on an HTML element.
That's not happening for me. The values on the webpage are the same as they were when the page loaded. I am using v1.6.3.
You can test it live.
Whatever edited data you submit in the form, I've set it up so the server sends back this data:
{"data":[{"DT_RowId":"row_9999","id":9999,"first_name":"Steven (hey)","last_name":"Vance (hey)","organization":"This should show","pause_emails":false}]}
This discussion has been closed.
Replies
I figured it out by wrapping the
<dd>
elements with a<div>
that has the attributedata-editor-id="row_XX
, where XX is the database row's ID.Here's the full HTML:
Perfect - thanks for posting your solution!
Allan