Jump to content

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

Recommended Posts

Posted

I'm testing a database with IWP on two laptops. The solution will eventually be hosted by Server Advanced. I'm getting an error when trying to select check boxes. One check box is in a portal and the other is just on a layout (regular text field, no limits on entry in field behavior, check box is defined to enter from a value list and the same value list is selected in field format). With both check boxes I get the message: "Data Entry Error - Your attempt to save changes to the current record failed because of the following: Choose field contents from value list for field .... (name of field)". I've tested this on an XP running explorer 6.0.29 and a Mac with Safari 1.3. Both give the same error (though safari adds that it's a java script error). What's UP!

Posted

Make sure the checkboxes are using a valid Value List.

Make sure the record that the checkbox's field is in has been "Open Record"ed (make sure you Commit the record when done editing).

Make sure that all fields on the layout are properly related to the layout's TO.

Posted

I've checked all those possibilities; however, I've found the solution - I just don't understand it.

When I originally created the fields, I made them part of a value list when I created the field (field validation option). When I added the field to the layout, I used field format to make the fields into checkboxes and assigned them to the same value list as I defined in the validation options.

Solution - I removed the field validation and no more java error messages. I've go no clue as to why. The only thing I can think of, but haven't tested is that I edited those value lists after records were created. Does FMP "remember" the original items of a value list and not update them on a records level when edited?

  • 2 weeks later...
Posted

Sorry for the long delay replying, I've been out of town.

FileMaker cannot display dialog boxes in IWP, so the JavaScript error may be Filemaker's way of letting the browser know that validaiton has failed. I do validation via scripts, so I've never tested this. More experienced folks: what is FileMaker's official way of handling validation errors in IWP?

This topic is 7087 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.