Adding text field automatically through radio button in sharepoint 2010
-
Friday, May 04, 2012 1:49 PMI am new to sharepoint, during development process I am stuck at adding text field when click type="other* , i have three radio buttons with choise a, b and other.. when someone select "other" i want a text field so user can input a text value manually.
If you know some code to achieve it that would be great , also please mention wher to copy and paste that code.
Thanks for the help.
- Moved by Jack-GaoMicrosoft Contingent Staff, Moderator Monday, May 07, 2012 1:10 AM It is SharePoint2010 (From:SharePoint - Design and Customization (pre-SharePoint 2010))
All Replies
-
Friday, May 04, 2012 1:47 PM
I am new to sharepoint, during development process I am stuck at adding text field when click type="other* , i have three radio buttons with choise a, b and other.. when someone select "other" i want a text field so user can input a text value manually.
If you know some code to achieve it that would be great , also please mention wher to copy and paste that code.
Thanks for the help.
- Moved by Jack-GaoMicrosoft Contingent Staff, Moderator Monday, May 07, 2012 1:11 AM It is SharePoint2010 (From:SharePoint - Design and Customization (pre-SharePoint 2010))
- Merged by Daniel YangMicrosoft Contingent Staff, Moderator Wednesday, May 09, 2012 9:56 AM same question
-
Saturday, May 05, 2012 3:12 PM
Hi,
You can achieve this functionality ootb (out of the box). Create a new field (column) of type "Choice (menu to choose from)" with the following settings:
1) Type each choice on a separate line </label>: "a", "b" [write all possible options (say a,b) in the given textarea in a separate line]
2) Display choices using : "Radio Buttons" (select 'Radio Buttons' option)
3) Allow 'Fill-in' choices: "Yes" (select 'Yes' option)Once this field (column) is properly configured as described above, the user will 3 radio buttons in new/edit forms as follows:
1) a (radio button)
2) b (radio button)
3) Specify your own value (radio button + text box)Hope this helps.
Regards,
Devang Bhavsar
- Edited by Devang Bhavsar Saturday, May 05, 2012 3:13 PM
- Edited by Devang Bhavsar Saturday, May 05, 2012 3:13 PM
- Edited by Devang Bhavsar Saturday, May 05, 2012 3:13 PM
- Marked As Answer by Get_it_done Tuesday, May 08, 2012 9:09 AM
-
Tuesday, May 08, 2012 9:10 AM
Hi,
You can achieve this functionality ootb (out of the box). Create a new field (column) of type "Choice (menu to choose from)" with the following settings:
1) Type each choice on a separate line </label>: "a", "b" [write all possible options (say a,b) in the given textarea in a separate line]
2) Display choices using : "Radio Buttons" (select 'Radio Buttons' option)
3) Allow 'Fill-in' choices: "Yes" (select 'Yes' option)Once this field (column) is properly configured as described above, the user will 3 radio buttons in new/edit forms as follows:
1) a (radio button)
2) b (radio button)
3) Specify your own value (radio button + text box)Hope this helps.
Regards,
Devang Bhavsar
Many thanks, it works but it says "specify your own Value" instead i wanted to use "other" can i do that?

