Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to focus in same page after click 'Create' Button

AQHJan 25 2021

i have an apex Form with ir report pages with default Create button. Form works fine when insert new record and as soon as i create new record and click 'Create' button it close and focus to ir report page.

is it any way i can stay at same entry form page after enter new record and click create button.

This post has been answered by Sylvain Martel on Jan 25 2021
Jump to Answer

Comments

Christian Pitet

Hi,
Can you reproduce it at apex.oracle.com ?
Regards,
Christian

Christian Pitet

Hi,
I have been on the page. I don't understand well what do you want to accomplish.
Regards.

AQH

when click on 'Create' button on ir report an entry form open. after fill all required column in this form a button 'Create' is click to save / commit this form entry. as soon as it 'Commit' button click this entry form close and i do want to stay at this entry form.

Sylvain Martel

Hello AQH,
On the form page, change the branch action to redirect to itself instead of redirecting to the IR.
Hope this helps!

Christian Pitet

After processing, you create a branch to the page when you want to stay. On the server-side condition the button involved is "Create" : on the "When button pressed" you selecte "Create".

AQH

@sylvain-martel @christian-pitet very much appreciated this reply. message appears 'Rows Created' appears and focus is in same form. is it easy that record just created also visible?

Christian Pitet

I don't understand what you are meaning. The record you created is visible because you are staying on the same page.

Sylvain Martel
Answer

Make sure the branch action doesn't clear the cache on your page. Also, if this is a form, make sure the primary key field has the Maintain Session State property set as Per Session (Disk).

Marked as Answer by AQH · Jan 25 2021
AQH

thanks it works!

1 - 10

Post Details

Added on Jan 25 2021
10 comments
726 views