New! qRules v2.4 Form Flags Sample Form - InfoPath Dev Sign in | Join | Help in qRules Qdabra Tools (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Browse Folders DBXL Documentation Installation and Setup SharePoint Integration SQL Integration Other Subjects XML-to-XML Side by Side Notifications Active Directory Event Receiver Qdabra Tools Document Deployer Bulk Operations Others qRules Excel to XML Template Parts SharePoint Revert UDCX InfoPath downloads Samples and templates Training DBXL v2.7 qRules DBXL v2.8 DBXL v3.0 DBXL v3.1 DBXL v3.2 FormsViewer v2.1 FormsViewer v2.2 DBXL v3.3 FormsViewer v2.4 FormsViewer v3.1 FormsViewer v3.2 FormsViewer v4.1 FormsViewer v4.2 FormsViewer v5.2 Qdabra Forms 2021 DBXL v3.4 Qdabra Forms 2022 Qdabra Forms 2023 Qdabra Forms 2024 Qdabra Forms 2025 FormsQuo FormsViewer FormsViewer Installation and Setup How-To Guides Samples and Custom Features Frequently Asked Questions Licensing Policy Known Issues & Workarounds New! qRules v2.4 Form Flags Sample Form Download Contact Downloads: 1,576 File Size: 133.4kB Posted By: Mel Clemente Views: 4,004 Date Added: 12-30-2010 The qRules Form Flags sample form features the following qRules Commands: IsNew - checks if form is new and sets the form version to '0'. This form version increments as changes are made to the form. IsDirty - checks if the form has changed. If there are no changes and user clicks Save/Submit, the form will not save/submit to the server. SetDirty - resets the IsDirty flag to 'false' on successful submit to allow further changes the next time the form is opened. IsReadOnly - checks if the form is currently opened by another user and prevents save/submit if so. ClearErrors - clears validation errors to allow users to save the form regardless if the required fields have been completed or not. GetErrorCount - counts the number of validation errors in the form; if present, users will not be allowed to submit. SetCaption - sets the form title to the form's name in the SharePoint library. SetSave - prevents File > Save to the SharePoint library. Bonus: Checks if a newer version exists on the server. Detects the form status (Saved/Submitted), version and DocID which are all displayed on the form's footer.Click on the DOWNLOAD button above to obtain the sample form. Filed under: ClearErrors, setsave, SetCaption, SetDirty, IsDirty, IsNew, GetErrorCount, IsReadOnly Comments No comments exist for this file. Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.