Tuto WEBDEV 25

186 Part 5: Let’s continue the development ▶ We are now going to check how the first parameter is passed: 1. Save the page by clicking among the quick access buttons. 2. Click among the quick access buttons. 3.  In the page that is displayed, type the customer name ("ADDAMS") and click "FIND". The content of Table control is modified: all orders placed by the customer named "ADDAMS" are displayed. 4. Close the test page. Second parameter: Order status Three states can be assigned to an order: • pending, • paid, • canceled. In our analysis, the order status is saved in the "Status" item found in the "Orders" file. This item is a radio button. To allow the user to select one of these three states, we are going to use the Radio Button control associated with the "Status" item of "Orders" data file. Remark The radio buttons are also called "option boxes". They are used to select a single option among the proposed ones. How to differentiate between a radio button and a check box? • The radio button is used to select a single option. • The check box is used to select several options. ▶ To create the Radio Button control: 1.  In the "Analysis" pane, click the icon next to the "Orders" data file: the items found in the data file are listed. 2. Select the "Status" item in the Orders data file, then drag and drop this item to "PAGE_ Multicriteria_search".

RkJQdWJsaXNoZXIy NDQ0OA==