Show: Delphi
C++
Display Preferences
AdaptReq.IActionFieldValues.OrigValueOfField
From XE2 API Documentation
Delphi
function OrigValueOfField(const AName: string): IActionFieldValue;
C++
virtual _di_IActionFieldValue __fastcall OrigValueOfField(const System::UnicodeString AName) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | AdaptReq.pas AdaptReq.hpp |
AdaptReq | IActionFieldValues |
Description
Returns the original value of a specified field.
OrigValueOfField returns the value of a specified field as it was when the HTML form was first presented to the end user (before the user made any changes). Use OrigValueOfField to access a field value by name rather than by index.
AName is the name of the field whose original value you want.
OrigValueOfField returns an interface for reading the original value, as it was stored as a hidden field in the HTML form. If the current HTTP request does not include a field with the specified name, or if the HTML form did not store an original value for this field as a hidden field, OrigValueOfField returns nil (Delphi) or NULL (C++).