Hi all, Happy Friday! I need help troubleshooting a problem I have with a link from the main menu
I have renamed $add, $del, and $mod (and cloned code for renamed permissions)
$add = $fa_add, $del = $cap_add (with code cloned from $add), $mod = $browse (code cloned from view)
My main menu Elsif looks like (only showing what is happening with fa_add):
if ($in{'fa_add_form']) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }
elsif ($in{'fa_add_record'}) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }
etc...
this is the same as in the original DBman main menu with the exception of the 'fa_' ...
but I don't get the html_fa_add_form when I click on the link, it goes straight to the failure form with "Error: Unable to Add Record" and all the required fields listed!
I do have the preview record mod installed and working (pre-cloning/renaming), I'm trying to trouble shoot this and am at a loss as to where to look next. I didn't modify any code within add_form or Html_add_form, I just renamed throughout the forms.
Any suggestions would be helpful!
Thank you!
Lynette
Hollister, Ca
I have renamed $add, $del, and $mod (and cloned code for renamed permissions)
$add = $fa_add, $del = $cap_add (with code cloned from $add), $mod = $browse (code cloned from view)
My main menu Elsif looks like (only showing what is happening with fa_add):
if ($in{'fa_add_form']) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }
elsif ($in{'fa_add_record'}) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }
etc...
this is the same as in the original DBman main menu with the exception of the 'fa_' ...
but I don't get the html_fa_add_form when I click on the link, it goes straight to the failure form with "Error: Unable to Add Record" and all the required fields listed!
I do have the preview record mod installed and working (pre-cloning/renaming), I'm trying to trouble shoot this and am at a loss as to where to look next. I didn't modify any code within add_form or Html_add_form, I just renamed throughout the forms.
Any suggestions would be helpful!
Thank you!
Lynette
Hollister, Ca