Page 1 of 1

Input Fields Not Recording

Posted: Sun Nov 24, 2013 1:10 am
by Matthew6439702

Image

http://appery.io/app/mobile-frame?src...

My only two Input fields on screen are not recording into my database. All other fields I need to create I can get to record but these two will not record. I have deleted my collection then started over. Removed my input elements and then re-added them and obviously created all new Db services and invoked services. This time I am just trying to get these 2 input fields to record before mapping the rest, that I can get to record just fine.

When I Test the service they add just fine so I am puzzled...please help thank you.


Input Fields Not Recording

Posted: Sun Nov 24, 2013 1:36 am
by maxkatz

Try to display the values in mapping, to make sure they are passed from the page. You can use alert(..) or console.log(..) for example.


Input Fields Not Recording

Posted: Sun Nov 24, 2013 2:29 am
by Matthew6439702

Thanks for your quick reply. I decided to get real aggressive and rebuild everything...Figured out what it was! I had the input fields located in my collapsable list repeater grid. When the list was generated it only kept the values for the blank inputs generated by the query for the list. I had to take the inputs out of the grid to get them to record.

Is there a way to have those input fields inside the grid with some sort of script to refresh the values entered in after the list and info was called?

They were positioned better in the grid but if I have to keep them out that is fine to.

Thank You


Input Fields Not Recording

Posted: Sun Nov 24, 2013 6:15 am
by maxkatz

I'm not 100% sure I understand where these fields are...


Input Fields Not Recording

Posted: Sun Nov 24, 2013 9:41 pm
by Matthew6439702

I created a query that used a list using a Collapse Block. In the collapse block I put the return elements for the query. When the query runs it fills the return elements in the Collapse Block. For some reason whatever is filled when the query runs is what is recorded when I click the add button to invoke the service to create the log, even though I changed the inputs. I had to pull the input fields out of the collapse block to get the changed inputs in the fields to record in the database. Does this make since?


Input Fields Not Recording

Posted: Sun Nov 24, 2013 9:56 pm
by maxkatz

Sorry, still not clear what exactly you are trying to do. Maybe you can post screen shots with annotations as to what you are trying to do?