Matthew6439702
Posts: 0
Joined: Sun Nov 24, 2013 1:10 am

Input Fields Not Recording

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Input Fields Not Recording

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.

Matthew6439702
Posts: 0
Joined: Sun Nov 24, 2013 1:10 am

Input Fields Not Recording

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Input Fields Not Recording

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

Matthew6439702
Posts: 0
Joined: Sun Nov 24, 2013 1:10 am

Input Fields Not Recording

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Input Fields Not Recording

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?

Return to “Issues”