Thank you, John but that is exactly what I am saying. If the field_label
and field_name
do not match they do not save the input.
To save the input, I must match the field_label
and field_name
, for ex. Field label = Example Field and Field Name = example_field will not save the input. However, Field label = examplefield and Field Name = examplefield will save the input.
My conclusion is that unless the field_name and field_label are the same it does not work. The same is said for spaces between words of each. Your help is muchly appreciated.
If I change the field_label to what is the purpose of this campaign and the field_name to what_is_the_purpose_of_this_campaign it does not work. However, if I change the field_label to whatisthepurposeofthiscampaign and the field_name to
whatisthepurposeofthiscampaign it does work. It seems that any spaces break the connection of the field_label and field_name
Getting this to now work is great, however, I need the field_label and field_name to match the purpose of these fields. I could overwrite these within the functions.php but this will be a nightmare as we potentially have 20 fields to add.