Search these areas:
Help
Support Forums
Product Info



Introduction
DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Views
Templates
Components
Data Analysis
Members
Security
Importing
Exporting
FTP
JavaScript
Object Model
JavaScript Objects
General Scripting Objects
Classes Object
Email Object
Request Object
-getBrowser
-getBrowserPlatform
-getBrowserVersion
-getClientID
-getContentLength
-getContentType
-getCookie
-getData
-getFilterString
-getHeader
-getIPAddress
-getLogonServerName
-getMethod
-getParameter
-getParameterNames
-getParameterValues
-getQueryString
-getRequestTime
-getRequestURI
-getServerName
-getSessionID
-requiresLogon
-saveFile
Response Object
Script Object
Data Access Objects
File Access Objects
Http Client Objects
Security and Membership Objects
Document Object Model (DOM)
Error Descriptions
Object Model Extensions
Full-Text Search
Domain and Email Hosting
HotBlock Modules
Account Management
Glossary
New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

DataWeb User's Guide

Request.getParameterValues()
Syntax

request.getParameterValues(paramName)

Arguments Description
paramName String argument specifying which parameter to retrieve values for.

Returns

An array.

Description

The method getParameterValues() is especially usefull when there are multiple parameters with the same name in a request. The getParameterValues() method returns the value or values of the parameter paramName. The values are returned in the form of an array of strings. If the parameter paramName has mulitple values in the request, then each of those values is returned in the array.

Example

Assume that the following URL is called:

http://myApplication.DataWeb.com/default.view?a=1&a=2&a=3&b=4&b=5&b=6

<!--#
var ns = request.getParameterNames();
var aArr = request.getParameterValues("a");
var bArr = request.getParameterValues("b");
#-->

ns=#ns#
<br>
aArr=#aArr#
<br>
bArr=#bArr#

Output:

ns=a,b 
aArr=1,2,3 
bArr=4,5,6 
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us