sympmarc wrote:
"since you've already got jQuery loaded, it would be far easier to do the selecting and binding with jQuery than JavaScript" . This is my only option left so i'll have too Bing a bit more because i've never really worked with JQuery before.
Thank you very much, i'll keep you posted
Siyasanga:IE does not give any errors, what I noticed is that when i implement the javascript to hide/show fields, the controls on the top left of the upload form (Save, Cancel, Delete e.t.c.) are greyed out so they become unusable even if i remove the script from the CEWP, unghost the uploadform.aspx/EditForm.aspx and put the script directly under the "ContentPlaceHolderMain" they're still greyed out.
What I do is hide the complex dropdown and create an equivalent simply dropdown. My code then fires wheneever the simple dropdown changes, updating the complex dropdown accordingly.
I'm not sure this is a viable option for me right now because the fields are not custom created on a custom form, they're created on the upload form at runtime from the content type attached to that particular document library so I don't have much control over the creation of those fields.
"since you've already got jQuery loaded, it would be far easier to do the selecting and binding with jQuery than JavaScript" . This is my only option left so i'll have too Bing a bit more because i've never really worked with JQuery before.
Thank you very much, i'll keep you posted