[Valid_URL] checks the format of a URL parameter. If the parameter appears to be a valid URL then True is returned.
This tag does not check whether the specified server is available. Use [Include_URL] to perform a live check of a remote server.
The optional -Protocol parameter allows a protocol to be specified such as HTTP, HTTPS, MAILTO, FTP, etc. Only URLs which reference that protocol will be returned as valid.
[Valid_URL: 'URL']
[Valid_URL: 'URL', -Protocol='Protocol']
Use the [Valid_URL] tag. The following example checks whether a URL referencing the Web server at www.example.com is valid.
[Valid_URL: 'http://www.example.com/Lasso/Admin.LassoApp']
True
Tag Link | [Valid_URL] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | Boolean | Security | None |
Implementation | Internal | Sets | Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft