poll_questions
poll_choices
The relationship is one-to-many, as in one poll question can have many choices. I *believe* that I have configured the relationship properly. I am able to view AND edit existing poll choices, as they relate to a particular poll question. The problem arises when I attempt to add a new poll choice. After submitting the "add new poll choices record" form, the Xataface app returns the very same form again, only blank and without an error or success message.
Using firebug, I am able to see that all of the fields are being POSTed to Xataface. However, when I view the MySQL queries that are being run, there are no attempts to insert the new record. I am using the following PHP code to view the queries:
- Code: Select all
define('DATAFACE_DEBUG_DB',true);
Please let me know if you need any more information. Much thanks.