As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am creating a maintain that ties to an Access database. I was interested in trying the IBIValidation in my data entry screens. It works great except for one thing. The two buttons I want to use are Submit and Cancel at the bottom of the form. If they cancel the form I don't want it to check if the required fields are entered. I can't seem to do this. Any idea?
WebFocus 7.6.5 Access Database Windows Server 2003This message has been edited. Last edited by: dendem,
The way that I got around this was to add code behind my Cancel button. I created a JavaScript trigger and a line like this for all my required fields:
Could you please supply me with sample code for canceling out of the form? I don't know how to close the form in Javascript so as to show the previous unclosed form that opened the data enrty screen.
When I try this I get the same results as before. I tired just closing the form as you showed above and also setting all the required fields to have values before closing and both don't resolve the issue. It still is requesting the fields be filled in.
To be more specific, The Cancel button uses Javascript to call the maintain case. The case then sets the stack fields that are tied to the form text boxes to 0 for all required fields.
Make sure that you are not getting a JavaScript error when you click the CANCEL button. Make sure that the command correctly reflects the name of your form and the field. Remember, with JavaScript case matters. The word value is in lower case, but the name of the form and the field should reflect the case of your form and field.
If the JavaScript code looks correct and CANCEL is still giving an error, ZIP up the MNT file, the MAS files, repro steps and anything else I would need to repro the issue and send them to: Mark_Derwin@IBI.COM.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003