Difference between revisions of "Required fields validation on Inline Detail Form"

From Agility
Jump to: navigation, search
(Created page with "Category:FAQ ==Problem Description== Mandatory fields are not validated on inline forms which are not visible. For example on First Task tab on WO details. Decision if par...")
 
(Problem Description)
Line 1: Line 1:
 
[[Category:FAQ]]
 
[[Category:FAQ]]
 
==Problem Description==
 
==Problem Description==
Mandatory fields are not validated on inline forms which are not visible. For example on First Task tab on WO details.
+
Mandatory fields [[are not validated]] on inline forms which are not visible. For example fields on First Task tab on WO details are not validated, when other than First Task tab is active.
Decision if particular element is required or not is evaluated in code. In same code responsible for rendering form. Inline Detail form is rendered only when it is visible. In current rendering mechanism it is very difficult to safety separate code responsible for validation fields. Enabling rendering hidden inline forms (always regardless of visibility) can affect performance.
+
Decision if particular element is required or not is evaluated in code. It is evaluated in same code responsible for rendering form. Inline Detail form is rendered only when it is visible. In current rendering mechanism it is very difficult to safety separate code responsible for validation fields. Enabling rendering hidden inline forms (always regardless of visibility) can affect performance.

Revision as of 15:03, 19 December 2016

Problem Description

Mandatory fields are not validated on inline forms which are not visible. For example fields on First Task tab on WO details are not validated, when other than First Task tab is active. Decision if particular element is required or not is evaluated in code. It is evaluated in same code responsible for rendering form. Inline Detail form is rendered only when it is visible. In current rendering mechanism it is very difficult to safety separate code responsible for validation fields. Enabling rendering hidden inline forms (always regardless of visibility) can affect performance.