Creating a Form that lets the user review what they entered before submission - oracle-sqldeveloper

I am trying to create a Form that lets the user to review what they entered before submitting the form. The first page will let the user enter what they want. The second page will show what the user entered. The second page will have two buttons. one for make changes and the second would be for submit. The third page will be the final summary page and will let the user print the form.
What i tried:
I created all the fields on first 1 page manually and then passed everything to page 2. I created a branch on page 1 to pass the values to page 2. Page 2 was connected to the table in which all the information is stored in. Page 2 had two buttons. One button was to make changes to page 1 and second button was to submit. Page 3 was just a summary page which allowed the user to print. It worked nicely but i later realized that if someone used a comma or pressed enter to start a new line in one of the fields then it will give me errors. This problem was occurring because i used a branch.
What i want to do.
I created a temp_table which is exactly like the main_table. The first page will be connected to the temp_table. The second page will be connected to a view on temp_table to show what the user entered. Page 2 will have two buttons called make changes and submit. Make changes will take the user to page 1 so the user can edit what they entered. Submit button will transfer what the user entered from temp_table to main_table (I believe we can use a process that runs a query to transfer data to main_table whenever the user presses submit). page 3 will be just a summary page that will let the user make changes.
I don't know how to approach this. How do i make the Make Changes button work? Any advise?
Note: I am very new to apex so i apologize if i made any mistake.
Thank you and any help will be appreciated.

Related

PowerApps- how to create a form where users can edit or delete rows that have been submitted

What I have:
As of now, I have created a Form (editable) where the user can enter their Name, Number, and Birthday, then hit the submit button, and that data is then entered into a Data Table. This information is also stored into Google Sheets for which I have created a flow. (when the user hits "submit", trigger the data to be updated into the google sheet).
What I need:
I would like users to be able to mess with the submitted data in the app itself (add a row, delete a row when you click on it, edit the row's info, etc), so essentially my powerapp is a nice front end for the Google Sheet. Is it possible to mess with the data once it is entered into the data table?
Any help how to do this would be appreciated.
I believe you started building Canvas app from scratch, so the screen has list below and "Add screen" on top. This way you have to introduce the Edit screen/operation & save changes using PATCH command.
There is another way: Create an app automatically from your data in PowerApps. This will give you the Browse Screen, Detail Screen & Edit Screen (aka New record screen) by default with all the Create, Read, Update, Delete (CRUD) operations right away using the Connection - Google sheet in your case.
Video tutorial for assistance

Refresh amp-list content on button click

I have a page that generates random numbers for a user. On page load, it will generate data and I can handle this much with amp-list. What I want is to have a button where the user can generate new data. Think of it like a bingo number generator. Page loads and presents the user with a 6. They want a new number, how can this be done?
I was thinking I could force the page to reload by linking to itself. So the "new number" button would actually just be a url link to the exact same page and this will generate a new number on page load. Using a div with an ID i can provide #randomnumber in the URL and it will go straight to this position.
Im a bit worried about this though as Google might see this as me attempting to inflate viewing numbers to get more ad revenue and what not. Is there a better way to go about this?
You can use changeToLayoutContainer to refresh data in amp-list. Give it an ID and reference that in your on
Example:
<button on="list.changeToLayoutContainer()">Show Grid</button>

Pass selected value from one form to another - ms access

I have an access database which has one form, asset_information in the source of which some fields are restricted to values in another table ([brand name] and [model name]).
I am trying to write a 'popup' or 'modal' form for the asset information form which will allow users to open a search form for the model or brand, search existing ones and then either select the model or brand or create a new one.
Example:
An user clicks here on the first form,
After that, this form pops up - user searches and clicks in one of the results then clicks 'select model'
That returns the model_id selected by the user from the popup form to the original form.
Googling has not helped much, can anyone point me in the right direction? Should I be using the openargs on the second form, or the first and second form? Or should I be using something else entirely?

APEX 4.2 Submit form and redirect to same page

So here's an issue with APEX 4.2. I've created an application with some forms and reports.
So I have page 2 which has a Form and a Report beneath that, I made a trigger that, when data is inserted in the table cohesive with the form, automatically fills up a table which is at its turn cohesive with the report (also on page 2).
On this page there is also 4 buttons (Create, Save, Delete and Cancel) now my goal is to submit the data from the form and redirect me back to the same page with all the values in place. I've added a Branching which should fill up my primary key but according to the debugging no data is passed back at the page after the submit (it is saved in the database however) after navigating back and forth to the page the data can be viewed normally.
I'm blundering in the dark here and I can't seem to get it working as I want it to, any help with this would be very appreciated. ^^
Thanks in advance!
Greets J.I.N.
I got it working, I used a process to recreate the primary key (which was originally created from several other columns in the database) and passed that to the page item that should contain the data.

How do I proceed with creating a panel which can search a page in wicket and redirect to the same

I am trying to do the following:
I already have a menu with several drop downs in wicket right now. However the number of entries have become very large in the drop downs, one has to remember headers under which a particular page exists. I would like to create a landing page, which would have a search bar in which we can type in the page name and I should be redirected to the desired page.
Can anybody give me any pointers of how to proceed with this one? Thanks!
You can consider to use AutoCompleteTextField to show user the available pages. Then, after user has selected a page, you can redirect him/her to the page.