I want to make a small pop up window that allows user to enter metadata when creating a new document from a document template. Please how do I go about this? I'm open to other work around too.enter image description here

PS: I don't have designer


Add script Editor web-part on page and add below script in it.

Note: Just replace button id and page url.

    <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {

    function openDialog() {  
           url: "page url that you want to open in pop-up",
           width: 500,  
           height: 500,  
           title: "Dialog Title"  
| improve this answer | |
  • Thanks for the response. Please where can i get the button from ? – magicrat Sep 16 '16 at 22:37
  • Currently on which event your form is opening? – SP Developer Sep 17 '16 at 6:42
  • When you want to open this page? means after clicking on any button,any link or else? – SP Developer Sep 17 '16 at 6:45
  • Right now I have an excel form that opens when I click on the green button in the image. I want the dialog box in the image to come up first when th ebutton is clicked and then the excel form should come up after the save button on the dialog box has been clicked – magicrat Sep 17 '16 at 7:14
  • The green button is a webpart I created. – magicrat Sep 17 '16 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.