Newbies sudhakar Posted May 11, 2005 Newbies Posted May 11, 2005 Hi, I am using FM Pro 7 on Windows 2000 and Internet Explorer 6. I have designed a database and published it through IWP. I have included some validation conditions and corresponding error messages in the Validation Part while designing the table. When i do manipulation on the published database, when i do some error entries it shows system generated error messages instead of the messages i defined previously in the database. I want to display my own error message on this published IWP Web Page. Please help me.
seanc Posted May 11, 2005 Posted May 11, 2005 What sort of errors are we talking about? Specific examples may help. Cheers, Sean.
Newbies sudhakar Posted May 12, 2005 Author Newbies Posted May 12, 2005 Thanx for ur reply. The example scenario will be like this: "PersonName" field should contain only less than 100 characters(I set in the maximum number of characters entry). I have set a validation part(calcualtion-length(PersonName)) for this and also i specified a specific error message("PersonName field should contain only less that 100 chars. Please re enter !") to this validation. When i am working with FM client, if this validation found wrong, the specified error message is popping up. But in IWP when "personname" field exceeds the limit, when i am submitting the form it gives it's own error message instead of giving my own error message. please help
seanc Posted May 12, 2005 Posted May 12, 2005 Hmmm. I don't think there is any way to change that behavior. Hopefully someone else can correct me, but thats my belief. My workaround would be to get rid of the control bar, and create my own submit button, which runs a script to validate the entry. If it isn't valid, set a global field on the page to show a big red message. Cheers, Sean.
Recommended Posts
This topic is 7473 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 accountSign in
Already have an account? Sign in here.
Sign In Now