Oracle Application Express 5: Developing Web Applications — Question 33
Which is true about the Button Name attribute?
Answer options
- A. When the page is submitted by clicking the button, the value of REQUEST is set to the button name.
- B. The button name is a unique identifier on a page. No other buttons or page items on the page can have the same name.
- C. The button name defines what database action is done on page submit.
- D. The button name serves as a static ID, which is useful when developing custom JavaScript functionality for the button.
Correct answer: A
Explanation
The correct answer is A because when a button is clicked, its name is sent as part of the REQUEST variable to the server. Option B is incorrect as multiple buttons can have the same name; C is wrong because the button name does not inherently define the database action; D is misleading as the button name is not solely a static ID but serves a different purpose in context.