This is a discussion on function PreSaveAction is not working.. within the MOSS Development forums, part of the SharePoint (MOSS) 2007 / WSS 3.0 category; Hi all, I wrote a small piece of code based on the solutions from my previous posts. I am working ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
I wrote a small piece of code based on the solutions from my previous posts. I am working with SharePoint designer to do some validations and popups in a custom list form. I tried this with the default OK button, but no luck. Here is my piece of code. <asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderMain"> <script type=”text/javascript” language="”javascript”"> function PreSaveAction() { alert('Thanks for your feedback'); return true; } </script> But nothing happened by clicking OK other than just submission. I am expecting the POPUP when i click OK . Thanks, Kalyan. |
|
|||
|
Kalyan,
Looks like your issue may be in your script call, with two sets of double-quotes around javascript. Blessings, Jim Bob Quote:
|
![]() |
|
| Tags |
| function, presaveaction, working |
| Thread Tools | |
| Display Modes | |
|
|