ConvertListToDropdown

Nov 10, 2009 at 5:51 AM

I am happily using convertlisttodropdown.js and have run across a need to convert the field back into a plain text field. Do you have a quick solution? I perused the source for the convert, but didn't see a quick and easy solution.

Bill

Coordinator
Nov 10, 2009 at 10:36 AM
Simply don't call converttodropdown and the field will remain a
textbox. The original field is still there, just hidden.

Ken Le
Nov 12, 2009 at 3:00 AM

Ken,

So I could just hide the {fieldname}_ddl and show the {fieldname} to use the original field? Wouldn't the update code get confused about what it was supposed to update the server with?

Bill

Coordinator
Nov 13, 2009 at 2:32 AM

Bill,

That's right.  And no, the update code would not be confused since it was never changed and has been saving the original field all along.

Ken

Feb 28, 2010 at 8:39 PM
Edited Feb 28, 2010 at 9:01 PM

Is convertlisttodropdown.js a script that is available separately from the distribution?

[edit] Just found it on the googlecode repository:

http://code.google.com/p/sharejpoint/downloads/list

Thanks!

Michael