简体   繁体   中英

Oracle Apex20.2 wizard when going back from form 2 to 1 the input fields in form 1 needs to retain their original values how to do this?

I'm fairly new to Apex but struggling with the wizard part. I'm currently using apex 20.2

I have a wizard that works perfectly fine, passing item values from one form into another form item I'm doing this with branches where in the behavior I set the value of the current form into the next one. But somehow I cannot do it with the 'previous' button. I would assume I could do the same, pas the item value from form 2 into the items from page 1 Then use that value as default item value? But then I get an error saying there is no data. Can someone point me in the good direction?

Thanks.

when pressing the previous button the action is a redirect to page 12, i would need to pass that P10_NAME value into form item P12_NAME

In Page 12 a was assuming i would need to set a default to the item where i have passed the data in?

With a link, the target is generated at page rendering time. It does not pick up the current values in the form. Instead what you could do is

  • Change the button action to "Submit Page"
  • Create a pl/sql page process to set the values (point: processing, condition when button pressed)
  • Create a branch to redirect to the previous page (point: after processing, condition when button pressed)

The 2nd bullet is optional, you can also pass the values in the branch link. Since the branch is executed after processing the item values will be the new item values (and not the values at page rendering time you see in the link now)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM