DMXzone Database Updater PHP Support Product Page

Answered

Simple edit question - content from repeating region not populating detail fields

Asked 22 Mar 2014 22:21:50
1
has this question
22 Mar 2014 22:21:50 Hope Tillman posted:
Table with repeat region is displaying, but when start, first listing does not populate detail region. If I click on edit and type content into detail fields and then click update, changes get made. So it sees the table listings but does not display them. I've missed a step and can't find it. Here is the file: www.msoginc.org/surname_project/edit0322.php

Replies

Replied 24 Mar 2014 10:13:44
24 Mar 2014 10:13:44 Teodor Kuduschiev replied:
Hello Hope,
your form fields are using data-bindings: {{ancestorfirst}} and {{ancestorlast}} but the actual data-elements as they are used in the details region are: {{ancestorFirst}} and {{ancestorLast}}. Please make sure to change or reapply the bindings of your form fields so they match the real data-element names (with capital "L" and "F" ).
Also, please remove the refresh data behavior that you attached to your Data Source on "when data is successfully loaded or updated" event.
You only need the refresh data when you make the changes through the database updater.
Replied 24 Mar 2014 15:20:18
24 Mar 2014 15:20:18 Hope Tillman replied:
Thanks, which step is wrong where I added the refresh data behavior to the Data Source? I'm trying to figure out how to remove it. I don't see how to get to it.

Replied 24 Mar 2014 15:43:36
24 Mar 2014 15:43:36 Teodor Kuduschiev replied:
It is wrong, as you added a refresh data source to be executed when the data is successfully loaded... which causes an infinite loop ( the data source gets loaded, refreshed then refreshed again and again ...)
This can be turned off clicking the Behaviors button in HTML5 Data Bindings UI:
Replied 24 Mar 2014 15:56:55
24 Mar 2014 15:56:55 Hope Tillman replied:
Thank you, I needed to see the picture to get back there. I wasn't clicking on the "pencil" to pull up this page. I appreciate your help. This test page now works as it should.

Reply to this topic