I am trying to get the value of WFFM form fields in code on submit button click. I tried Request.Form["First Name"]
. but I am getting null
for all field names even if the field has data. Can anyone please suggest how I can get field (text or checkbox) value. I am using the code below:
var nameField = this.Form.Fields.FirstOrDefault(m => m.Name == "First Name");
if(nameField != null && Request.Form["First Name"] != null)
{
//Do something
}