new rule: "leavemodal" looks for LEAVE triggers with RETURN NO-APPLY

Project:Prolint Issue Tracker
Component:Rules
Category:feature request
Priority:normal
Assigned:jurjen
Status:closed
Description

Submitted by Tim Townsend

"return no-apply" in a leave trigger is bad because creates a modal UI, where the user isn't free to enter data in the order they choose. 99% of the time it can be fixed by just removing the line. You need to have code later (e.g. at save time) to validate the data anyway, since you can't guarantee that the userwill put focus in every field.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

#1

Assigned to:Anonymous» jurjen
Status:active» fixed

code submitted by Tim, committed to the Subversion repository as revision 332. Will be in the next Prolint release, but you can already check it out from Subversion if you want it now.


#2

Status:fixed» closed