In my usecase i have 15+ resource paths where I need to perform required field validation. Majority of resource paths are having the same required fields but few are having additional required fields.
Any suggestions on the approaches listed below.Which will be the best approach?
Approach 1 : Use single JS
Approach 2 : Use two JS
Approach 3 : Use Multiple JS
Here is what i think about same, I might not be right but just would like share my opinion,
Approach 1 :
Approach 2 :
Approach 3 :
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |