FormVarName Property

This property contains the form variable name for the current request.

Syntax

ANSI (Cross Platform)
char* GetFormVarName(int iVarIndex);
int SetFormVarName(int iVarIndex, const char* lpszFormVarName); Unicode (Windows) LPWSTR GetFormVarName(INT iVarIndex);
INT SetFormVarName(INT iVarIndex, LPCWSTR lpszFormVarName);
- (NSString*)formVarName:(int)varIndex;
- (void)setFormVarName:(int)varIndex:(NSString*)newFormVarName;
#define PID_WEBFORM_FORMVARNAME 23

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebForm_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebForm_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebForm_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the form variable name for the current request. If you are emulating the behavior of an existing HTML web form, this property will contain the name attribute of the 'INPUT' tag in the form which you are emulating.

The VarIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FormVarCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]