Tag Info

New answers tagged

0

You can use PreSaveAction() function to do your custom validation. This function is executed once you click on the submit button. return true to submit the form or else return false to stay in the same page. Add a js file to the page and insert the code as follows: function PreSaveAction(){ if($('#someid').val() == ''){ alert('Required field'); ...


0

There is no possibility to return to the form from an Eventhandler. I had the same issue like you trying to validate something on editform. It is not so easy when you are trying to make asynchronous calls like you would need to do. Maybe take a look at Jslink and formvalidation: ...


0

Adding new columns to the list would add the new controls required. Try looking into PreSaveAction() and PreSaveItem() javascript functions for you javascript needs. You can add javascript directly to the page using the designer or you can add a Content Editor web part and put code there. You could also place code in a separate js file and reference it in ...


0

I would recommend something like this. I know you said your not great with JavaScript, but I think this is going to be your best option. I have found from personal experience that InfoPath is easy to start with, and powerful to an extent, but you will soon find its limitations and flaws. If/when that happens you will be going back and starting fresh with ...


0

got an answer in MSDN forums: Per my knowledge, there is no easy way to make the Ribbon button open in new window or tab, as the hyperlink is generated in backend. As a workaround, I suggest you can create a custom Ribbon Button with the url format like below and use URLAction to make the link open in new window. URL format for view Properties: ...



Top 50 recent answers are included