PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • The different types
  • Note: the Internet browsers allow a single action on the page per process
  • Choosing a type of link
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Choosing the type of link
Overview
WEBDEV proposes several types of links according to the action of the link on the page controls.
The different types
The type of link is linked to the type of operation performed on the controls. The choice of the operation is performed in the description window of the link ("General" tab).
The available types of operation are as follows:
  • Send the value of controls to the server (submit):
    The link validates all the controls found in the current page and returns the value of the controls to the server. Then, the server performs the specified action.
  • Reinitialize the page controls (reset):
    The link clears all the page controls (except for the controls initialized by programming).
  • None:
    The link performs the requested action but it does not return the content of the controls found in the current page to the server.

Note: the Internet browsers allow a single action on the page per process

Some types of links automatically trigger an action on the page (link performing the "Send the value of controls to the server" operation, link performing the "None" operation whose action differs from "none").
This function will be ignored if PageSubmit or EmailOpenMail are used in the browser click process of these links (or in a procedure called by this process): only the action of the link will be performed.
Consequences: PageSubmit or EmailOpenMail cannot be used in a code that triggers an action (automatically or not). These functions are ignored:
  • in the click code of a link that performs the "Send to server" operation
  • in the click code of a link that performs the "other" operation whose action differs from "None"
  • if PageSubmit is followed by EmailOpenMail (in the current process, in a procedure called by the current process or in another process called by Execute).
  • if EmailOpenMail is followed by PageSubmit (in the current process, in a procedure called by the current process or in another process called by Execute).
To use PageSubmit or EmailOpenMail from a link (browser click code of button), this link must have the following characteristics ("General" tab of description window):
  • Operation on the controls: "None"
  • Action: "None"
Choosing a type of link
Let's see some "standard" examples for using links in a page:
Action to performExampleOperation on the controls
Send the data found in the current page to the server for processingRegistration form.
The link is used to check the validity of the information entered and it displays a confirmation page.
Send the value of controls to the server (submit)
Performing a process on the server, without retrieving the data of the current pageMenu page made of buttons.
Each link is used to display a page of the site
None
Performing a process in browser codePerform a simple calculation, an input check, ...None
Display a static page of the siteDisplay the home page of the siteNone
Display a page external to the siteStart a search engineNone
Reinitializing the page controlsClear the controls of the current pageReinitialize the page controls (reset)
See also
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment