I have a list called Employees , i created a custom form for saving the data. The custom form holds five fields. Which are created using normal html input tags
- Name: (input type = text)
- ID: (input type= number)
- Country:(input type = select which consist of options they are dynamically added from metadata)
- State: (input type = select which consist of options they are dynamically added based on the selection of Country field)
- ContactNo: (input type = number)
- Submit: (input type = button)
Columns in Employee Details
- Name (type = string)
- Id (type = number)
- Country (type = managed metadata having Country Metdata)
- State (type = managed metadata having State Metadata)
- ContactNo (type = number)
Meta Data Management Structure
EmployeesDetails(Term Set)
Country(Term)
India(Term)
US(Term)
State(Term)
India(Term)
New Delhi(Term)
Karnataka(Term)
US(Term)
NewYork(Term)
LosAngels(Term)
So when we are saving the record it should save to the corresponding columns. I am able to list state based on the selection of country from managed meta data. How can i save the record to the corresponding columns of state and country which are managed meta data columns using javascript?
Many regards