Hi Team,
I have a Parent From with foll fields
When CompanyName = "-Not in list- "is selected, a text box is shown to the end user to enter the company name
Other details are filled.. and form submit.
On Form submit, I have Insert command for
- if(CompanyName =="-Not in list-")
- {
- [ insert into CompanyMaster
- Company Name = input.companynametextbox
- City = input.city
- State= input.state
- ]
- }
The above command gets executed correctly, when all of the fields are entered (Name, city, STate) in the parent form
However, if the user enters only the Company name text box, (&skips adding data to city and state), the insert command fails to execute.
The parent form still captures the data
What could i be doing wrong? I am just not able to put my finger to it.
Thank you,
Best Regards.
-Deepa Govind