Class JobFormFieldValue
Wraps a job form field's value.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class JobFormFieldValue : JTObject
Properties
FieldValue
Value of the form field.
When you set this value, the FieldValueId will be cleared.
Declaration
public string FieldValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FieldValueId
For List of Value fields, this is the Id of the selected field value. For other field types, this is Nothing.
When you set this value, the FieldValue will be cleared.
Declaration
public int? FieldValueId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
FormFieldDataType
Data type of this field.
Declaration
public FormTemplateField.FormFieldDataType_Enum FormFieldDataType { get; }
Property Value
| Type | Description |
|---|---|
| FormTemplateField.FormFieldDataType_Enum |
Remarks
This property may not have been set, depending on where the JobFormFieldValue came from.
JobFormFieldId
JobFormField id.
Declaration
public int JobFormFieldId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobFormFieldName
JobFormField name.
Declaration
public string JobFormFieldName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
SetFieldIdAndValue(Nullable<Int32>, String)
Sets both the FieldValue and the FieldValueId properties.
Declaration
public void SetFieldIdAndValue(int? fieldValueId_, string fieldValue_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | fieldValueId_ | Id of the field value. |
| System.String | fieldValue_ | Display version of the field value. |