- BrandModels = (Model[Brand == input.Brand].Name_utilized).getall();
- if(BrandModels.contains(input.Name_utilized))
- {
- alert ("Duplicate Brand - Model pair!");
- cancel submit;
- }
That simple validation works perfect in form but ends up with error on Import Data.
While debugging I came up to conclusion that no "input" is accessible because if you try to:
- test = input.Brand;
... it crashes with same error.
How should I validate Imported Data if I cant access it via input?
Any Ideas?