I am trying to push data through to a pop up and I have been following your responses to people asking similar questions but I just cannot seem to get my app to work.
I have a drop down and when a certain drop down value is selected then the pop up shows. (I have got this to work). I then want to show the event name and the location in the pop up. Please see the print screen below.
In the pop up I would like to show the data that was entered on the previous page. At this point I will not have saved the data anywhere. I have attempted to create a custom state but that is not showing up.
I do not expect you to look at my app, but just in case and in the interest of efficiency I have included a link. Any assistance/ help/ pointers would be very gratefully received
^^^ There’s the problem. That data does not exist as it is not saved anywhere. If you don’t want to make a thing in the database, you could pass all the info about the thing to the next page using URL parameters. That’s one way to do it.
OK, I missed that. The data is on the previous page, not on the current page. So all you need to do is pass that data to the current page (with the popup) using the Goto Page navigation workflow, and check “Send more parameters to the page”.
Then name and identify the parameters you want to send.
Then create input fields (hidden) on the current page and use the “Get Data from Page URL”, which is the last option.
Then on the popup, reference the data from the hidden input fields.
Or just reference parameters directly. No need to shove it into a hidden input.
The bigger problem here is why should we leave some page where we have some sort of unfinished business to attend to?
(Looks to me like the idea here is some sort of additional info gathering, perhaps? Why not just do it in a pop up on “the first page” rather than on some “destination page”?
If one MUST navigate to some other page, a much more robust way to handle passing the data would be to create the new “event” object [or whatever’s being created here] and set a flag on it like its “unfinished” is “yes” or conversely its “published” is “no” or “temporary” is “yes”… ya know?)
If you need to go to the 2nd page, you should send the data via URL parameter in the Go to Page action from Page 1. Then, in your popup, you can extract those parameter values with “Get data from page url”
I have been quite for a while but I have been implementing my new skill set through my app.
Now I am taking this to the next level. I have followed your instructions and I can now send data from one page to the next. I am using this skill to complete the following requirement.
Repeating group showing the list of names that are attending an event.
I have an invisible button in the repeating group that sends you to another page where you can review all the details on that child. When you click on the button you are taken to the account page - the name of the child is transferred through the URL.
This is where I am stuck and I have been working on it for a couple of days. I have the Name - now i need to populate all the other fields below with the data relevant to that name. I have attempted constraints but they are not working. I get random dates included. Shown in the print screen below. My repeating tables showing medication taken shows all the medication taken by all the children in the system. I just want the details from the name transferred in the URL and displayed in the the first input.
NOTE: I wanted to display the data in Input fields, not text fields. I thought it was worth mentioning just in case this was the problem.