SharePoint List Choice Fields
Hi,
I created SharePoint Column as “Single line of text” format and Input field in Form created with SPForm to be formatted as Dropdown/Choice field.List of selectable options to be set in the Form view and that data will be bind in "Single line of text" in SharePoint .
I mean at first I want to create column as "Single line of text"
at second I want to create column as drop down list in SP Form(using HTML control that is included in SP Form)
at third I want to get data from selected of drop down list to "Single line of text" that I previous created.
I created SharePoint Column as “Single line of text” format and Input field in Form created with SPForm to be formatted as Dropdown/Choice field.List of selectable options to be set in the Form view and that data will be bind in "Single line of text" in SharePoint .
I mean at first I want to create column as "Single line of text"
at second I want to create column as drop down list in SP Form(using HTML control that is included in SP Form)
at third I want to get data from selected of drop down list to "Single line of text" that I previous created.
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear Hnin,
Sure, you can do it! Simply create a new Single Line column, add it to form, and make sure you copy value to your HTML dropdown on load and from HTML dropdown on change.
Read how you can set value of Single Line field here - https://spform.com/javascript-framework ... eld-values
Once you make sure that this works, you can hide the Single Line field by setting its property Style: display:none;
Sure, you can do it! Simply create a new Single Line column, add it to form, and make sure you copy value to your HTML dropdown on load and from HTML dropdown on change.
Read how you can set value of Single Line field here - https://spform.com/javascript-framework ... eld-values
Once you make sure that this works, you can hide the Single Line field by setting its property Style: display:none;
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests