Timeline for Button that sets dropdown value onclick in Edit Form SPO 2013
Current License: CC BY-SA 4.0
        6 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 8, 2019 at 15:36 | vote | accept | TheJDScott | ||
| May 8, 2019 at 1:17 | comment | added | LZ_MSFT | I modify the code in the reply above, to set the Document dropdown menu to match the value of the contentTypeText column. And the code only use jQuery library, we don't need add other js libraries. | |
| May 8, 2019 at 1:14 | history | edited | LZ_MSFT | CC BY-SA 4.0 | 
        
            
             
                
                    added 121 characters in body 
                
             
        
     | 
| May 7, 2019 at 15:29 | comment | added | TheJDScott | I also noticed that you removed the SPServices + the other jQuery refs and the script still works! Just curious how you knew to do that. | |
| May 7, 2019 at 15:24 | comment | added | TheJDScott | Thank you a lot. I appreciate this. The code works for when the Document field equals "BackgroundReport". Could this code still work if there are 4 options in the Document dropdown (PermitRequest is one of them). Ideally, I was hoping that the Reset button could set the Document dropdown menu to match the value of the contentTypeText column. I make this request, because in the event we add new values to the Document dropdown field, I won't have to keep updating the code. Does that make sense? | |
| May 7, 2019 at 2:31 | history | answered | LZ_MSFT | CC BY-SA 4.0 |