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!

Using the Form javascript.addrow() to pass values while creating a new row?

Ryansun-OracleOct 4 2012 — edited Oct 4 2012
Version: 4.1.0
DB: 11g
Theme- scarlet 21

Hi,

I have a standard tabular form with the add, delete, submit buttons. Now when we hit the Add button, it creates a new row in the form. I had a requirement such that the user selects a row using the standard checkbox and then when he hits add, it should create a new row, and also, copy the contents of the selected row to the new row.

Is this possible? Any suggestions please? I am thinking that I need to create a pl/sql process under Add button to check if the checkbox is selected, and if yes, then maybe run the javascript addrow(not sure if it can be done) and then try to populate the values.

Thanks!
Sun

Edited by: ryansun on Oct 4, 2012 12:34 AM

Edited by: ryansun on Oct 4, 2012 12:46 AM

Edited by: ryansun on Oct 4, 2012 12:46 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 1 2012
Added on Oct 4 2012
2 comments
372 views