I have the exact same problem as you. I want to add 20 extra fields, the fields show up, I write in the fields I want and press the “update options” button. I view my form and nothing has changed, and all the 20 extra fields I added are blanked out.. Hope someone has a solution to this problem! 🙂
I think I know what is causing it.
It would only effect downloads from the last day an a half.
I will try quickly to make a fix. I will reply here when the fix is tested.
Here is the fix:
edit:
si-contact-form-admin.php
change:
// optional extra fields
for ($i = 1; $i <= $optionarray_gb_update['max_fields']; $i++) {
to:
// optional extra fields
for ($i = 1; $i <= $optionarray_update['max_fields']; $i++) {
Only make this change if you downloaded in the last day and a half and had this problem. I have just fixed the download now so that all the new downloads are fixed.
Sorry for any inconvenience. The fix worked for me, let me know if it worked for you
I also recommend using the backup Settings Tool in case something like this ever happens. Then if anything was lost, you could restore your forms.
http://www.fastsecurecontactform.com/backup-restore-forms
I downloaded the form today, but I can not find a similar line as the one you say that I need to change. In my contact-form-admin.php this is what I find:
// optional extra fields
for ($i = 1; $i <= $fsc_gb_update['max_fields']; $i++) {
Edit: I downloaded the new version and now it works great! I am very very grateful that you have done so much work to make this form. It has helped me a lot! 🙂
Yea the PHP version is different than the WP version.
change
// optional extra fields
for ($i = 1; $i <= $fsc_gb_update['max_fields']; $i++) {
to
// optional extra fields
for ($i = 1; $i <= $fsc_opt_update['max_fields']; $i++) {
Thread Starter
Nick67
(@nick67)
Thanks Mike!
I have added 20 Extra Fields in WordPress and it works great!
/Nick
version 3.0.3 is out now, so the official fix is to update to version 3.0.3 or higher. No more need to patch files.