OnlineMarketingTransformationFunctionsFilledFormFieldWithValue Method |
Returns true if the contact filled a form with the given field at least once so that the value contains expected value.
Also returns false for global contacts.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax public static bool FilledFormFieldWithValue(
ContactInfo contact,
string formName,
string fieldName,
string expectedValue,
int lastXDays
)
Parameters
- contact
- Type: CMS.OnlineMarketingContactInfo
Contact info - formName
- Type: SystemString
Form name - fieldName
- Type: SystemString
Filed name - expectedValue
- Type: SystemString
Expected value - lastXDays
- Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
Return Value
Type:
BooleanSee Also