I wanted to read the value of custom property in a save action.
The field parameters was null because I didn't override the Result to pass the parameters.
Solution is to override the Result in your Custom Field Class.
/// <summary>
/// Override the result to get the selected value in the save action
/// </summary>
public override ControlResult Result
{
get
{
return new ControlResult(this.ControlName, this.textbox.Text, MaxLeadManagerFieldName);
}
}
The third parameter is the parameter field in the save action field property.
Fill this with the property of your custom field and you can read the parameters in your save action ;)