Jump to content

This topic is 7891 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

The user enters a value in a field, I perform a find on this. If there are records found, it goes to the -format page of "view_results.html" fine. However when a -find returns no records it will go to the -error page "view_error.html" and in here I have a form that they submit to add a record, -new request. Going to these pages are fine. The problem is when at the -error page and submitting a form here for a -new request.

For some reason, when they submit the form for a -new in the "view_error.html" and I get the error page for this form request and it shows that it is a 102, which is field missing.

I double check, triple check and I have asked people to check my fields and my CDML code and we can't seem to figure out why I can't create a -new record from the -error page of no records found and why I am getting a field missing.

Does CDML require all fields -new to be included in the form? I don't think it is required.

I am so confused right now.

Posted

Hi,

Could you paste your code please for the view_error.html page and we will have a look and try to see where the problem is

Just a 2 quick thoughts - very simple but sometimes its the simple things we miss!

1) have you any fields on your database which cannot be empty but these fields do not appear on your view_error.html page?

2) Does your view_error.html page contain a field reference but the field has since been deleted off your database?

Thanks

Ed

This topic is 7891 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.