Helper method to set a field without retrieving the field objects.
Any field type can be the target (text, image, barcode), however,
if the field is using text variables, the method
SetLocalValue(String, String, String, Boolean)
must be used instead.
Namespace:
InfigoSDK
Assembly:
InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic (Declaration) |
---|
Public Function SetFieldValue ( _
strFieldName As String, _
strValue As String, _
bValidate As Boolean _
) As Boolean |
Parameters
- strFieldName
- Type: System..::.String
The field name.
- strValue
- Type: System..::.String
The new field value.
- bValidate
- Type: System..::.Boolean
Pass true if the value should be validated (based on the template settings), false otherwise. It is recommended, that validation should be used.
Return Value
Returns true on success (field does exist, no locals, validation successfull).
See Also