|
|
|
|
|
11. Choosing the action of a button/link
You can choose among several button/link actions, depending on the operation to be performed on the page controls. The action can be chosen in the control description ("General" tab). Let's see some examples of "standard" uses of buttons/links in a page: - Send data of the current page to the server to be processed
For example, for a registration form, a link can be used to check the validity of the information entered and display a confirmation page. To perform this type of process, use a link with the action "Send values to the server". The page data is sent to the server in order to be processed.
- Perform a process on the server, without retrieving the data of the current page
In the case of a page that contains a menu with different buttons, each button opens a page of the site. To perform this type of process, use a button with the action "Don't send anything to the server".
- Perform a process in Browser code
Example: Perform a simple calculation, check input, etc. To perform this type of process, use a button with the action "Don't send anything to the server".
- Display a page external to the WEBDEV website
For example, starting a search engine via a button. To perform this type of process, use a button with the action "Don't send anything to the server".
- Reset the page controls
For example, a link can be used to clear the controls of the current page. To perform this type of process, use a link with the action "Delete content of the controls in the browser".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|