Rename Save button NewForm.aspx in Sharepoint Foundation 2013

HI,
Recently i try the link below to rename the save button to submit button. 
http://yummyto.com/2014/08/15/using-javascript-rename-save-button-newform-aspx-in-sharepoint-2013/#comment-41
I create a Javascript and upload the into style library site portal. After that add in a new content editor web part with (/sites/ESH/Style%20Library/submit.js). When i stop editing and go back to the new form, the button still remain as save without changing
to submit and on top of the form appear the /sites/ESH/Style%20Library/submit.js.
Any wrong on the editing part.
Appreciate that someone can help on this.
Leong

Hi,
I'm using the code below :-
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<script type=”text/javascript”>
function ChangeSaveButtonText()
var inputcontrols = document.getElementsByTagName(“input”);
for(i = 0; i<inputcontrols .length; i++)
if(inputcontrols [i].type == “button” && inputcontrols [i].value == “Save”)
inputcontrols [i].value = “Submit”;
_spBodyOnLoadFunctionNames.push(“ChangeSaveButtonText”);
</script>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thanks
Leong

Similar Messages

  • Sharepoint Foundation 2013 People field wont save data

    Guys, having an issue with a list column. We have some columns that are Person or Group.  when we enter in a user, it finds it just fine saves it just fine. but if i come back into that list and edit some other field the Person or Group field is totaly
    cleared out. I don't know what is going on. we are using SharePoint foundation 2013.

    If you're using SharePoint 2013 April 2013 CU or higher, this is a known issue where the People data is missing in Edit view. There is a separate issue that is resolved in the September 2014 CU:
    http://support.microsoft.com/kb/2995905
    Consider the following scenario:
    You create a SharePoint 2013 list that contains a Person or Group (people picker) column.
    You create or edit an item, and then you select a person whose name contains a comma in the Person or Group field.
    In this scenario, the value of the Person or Group field is lost when you save the item. 
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Error 503 after renaming SharePoint Foundation 2013 Server

    We renamed a SharePoint Foundation 2013 server using the procedure outlined here:
    http://www.bluesphereinc.com/blog/renaming-a-sharepoint-20102013-server/
    Everything seemed to work fine until we tried to access the site afterwards. Now all we get when trying to access the site is the Error 503: Service is unavailable message. We can get into central administration without any problems.

    Hi  ,
    According to your description, my understanding is that you encountered 503 error after renaming SharePoint Foundation 2013 Server.
    For your issue, please refer to the actions as follow:
    1.Check the web site properties in IIS. Under home directory tab, check the application pool value and then open that application pool from the application pools (separate node in the IIS tree). Click the
    identity tab and see who is the pool assigned to. For the sake of testing, you can select "Predefined" and select local service from the drop down. Restart IIS and see if things work out for you. Http 503 error is generated by the IIS and it happens
    when web server sends data stream back to the web site.
    2.Verify that all SharePoint services are started, this error might occur because of changing the service account password. You may need to change the new password to application pool or SharePoint timer
    service. Click the stopped application pool -> click advanced settings ->Identity ->click the user to retype the user ->Application Pool Identity dialog ->click set -> manually type the user name and password. Then restart the server.
    If your issue persists, please provide detail error message of ULS log 
    to determine the exact cause of the error?
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • SharePoint Foundation 2013 - FBA Custom Login Page

    Hi,
         i am trying to enable FBA in SharePoint Foundation 2013 and it works fine for default login page
         but when i try to create custom login page ( which is already working without any problems in SharePoint 2010 )  i receive an error when i try to authenticate user using the following code :
             SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtUserName.Text, txtPassword.Text);
         i checked the Log file and found the following entries :
            - Application error when access /_layouts/CM Custom Login Page/Login.aspx, Error=Exception of type 'System.ArgumentException' was thrown.  Parameter name: httpApplication   at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri
    context, String userName, String password)     at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
            -  System.ArgumentException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: httpApplication    at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri
    context, String userName, String password)     at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)    
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
          -  Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Exception of type 'System.ArgumentException'
    was thrown.  Parameter name: httpApplication     at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri context, String userName, String password)     at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object
    sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(...
          -  ...Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    check first whether you are getting context or not, to me it looks like issue with Contrext.Request.UrlReferrer
    try with this code
    Uri url = new Uri(SPContext.Current.Web.Url);SPClaimsUtility.AuthenticateFormsUser(url, txtUserName.Text, txtPassword.Text);

  • MasterPages and SharePoint foundation 2013

    Hi
    I have created a web application in SharePoint Foundation 2013. I also have created multiple subsite.
    I want to change the visual (branding) of the website (and all subsites).
    I have created a custom masterpage and wanted to set it as the default master page. But when I do that, everything is now set with that custom masterpage (even the site setting pages, the viewlsts.aspx, settings.aspx).
    Is there a way to bind masterpages only with the content pages of my website ?
    Any links for info about that ?
    Thanks
    Richard Martin Web Developer / BI Developer

    Hi  marric01,
    All of the site setting pages, the viewlsts.aspx and settings.aspx is the application page. An application page is an ASP.NET Web page that is designed for
    use in a SharePoint Web site. Application pages are stored on the file system of the front-end Web server in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS directory and exist for every site in a Web application.
    This folder is mapped to an Internet Information Services (IIS) virtual directory called _layouts. Every site and subsite will have access to the application pages by using the _layouts virtual directory. 
    The scenario you have seen is what SharePoint will do when set the master page through Site Settings->Master page. All the pages on the site will apply this master page. 
    The settings.aspx, viewlsts.aspx and upload.aspx. etc. are application pages, the difference between application page and content page is that: application page store in server 15/Template/Layouts folder, all applications in the SharePoint farm use the same
    application page, while content page store in content database, each site use a unique page of them, you can update the page content in different site as you like.
    SharePoint by default doesn’t provide a method to set different master page for application pages, and this is not recommended, even if you can change this through update the page directly in the layouts folder, whenever you change it, it will affect the whole
    SharePoint farm, on all web applications.
    If you really need to this, I would suggest you to custom the ribbon button to direct to your custom specific application page like settings page. The concern by doing this is the default settings page is still available, and if users access the page by typing
    the url directly, he will see the default settings page.
    Reference:
    http://msdn.microsoft.com/en-us/library/aa979592.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected].
    Eric Tao
    TechNet Community Support
    Hi,
    Thanks for the information. While waiting for help with this forum, I was playing with SharePoint Foundation 2013 and SharePoint designer 2013. I saw that I can bind custom masterpage for each page that I create.
    (Style => Attach => Custom masterpage)
    I also managed to bind subsite pages to that same custom masterpage. 
    Is this a good way to customize the look and feel of my SharePoint foundation 2013 website (We are building a small intranet for about 100 person).
    Users are only gona be able to modify content inside the pages. We are (IT dept) the only one that can modify structure, add new pages and modify the look for the website.
    Thanks again !
    Richard
    Richard Martin Web Developer / BI Developer

  • SharePoint Foundation 2013 guide

    hello guys, getting off my hands to get wet on sharepoint.
    need a guide on how to setup document management using sharepoint foundation
    thanks.
    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    IT Stuff Quick Bytes

    Hi,
    Please check the below Urls
    https://technet.microsoft.com/en-us/library/ff607621(v=office.14).aspx
    http://sharepoint.stackexchange.com/questions/110899/sharepoint-foundation-2013-document-management
    http://www.jornata.com/resources/Documents/Configuring%20SharePoint%202013%20Document%20Management%20and%20Search_Scott%20Jamison_SPSNH_2013.pdf
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • Sharepoint Foundation 2013 User field issue

    Guys, I have an issue with Sharepoint Foundation 2013 site that we have created some custom workflows for. We have a couple required fields that we type in a users name and it automatically pulls up a user based on Active directory. once we choose that name
    and then save the form. the field immediately becomes blank when i open the workflow item back up. I'm kind of at a loss. I've already totally hosed the server once and was forced to restore.  This seams to have started when we installed share point server
    patch KB2881077 but i cannot uninstall or roll back the patch as there is no option to.
    Thoughts?

    If you're using SharePoint 2013 April 2013 CU or higher, this is a known issue where the People data is missing in Edit view. There is a separate issue that is resolved in the September 2014 CU:
    http://support.microsoft.com/kb/2995905
    Consider the following scenario:
    You create a SharePoint 2013 list that contains a Person or Group (people picker) column.
    You create or edit an item, and then you select a person whose name contains a comma in the Person or Group field.
    In this scenario, the value of the Person or Group field is lost when you save the item. 
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Using ADFS with SharePoint Foundation 2013?

    We have a WSS 3.0 web site used primarily for sharing documents with business partners who do not work for our company.  We plan on doing the 2 step upgrade to SharePoint Foundation 2013
    Our internal users also use it but normally just use internal network file shares if they aren't planning to share the documents with external users.
    Each business partner's company has a sub site within our main WSS site and documents are uploaded to that section of the site if we want to share documents with employees of that company. 
    Since we use AD for authentication, to make this work, we create AD user accounts for each external user and add them to a security group that gives them access to only their company's subsite on the main site.  
    We have to maintain their passwords, reset them and delete/disable them when that person no longer needs access.  Each business partner has a limit on the number of users who can get one of our AD accounts due to limits on the number of CALs available
    to them.  It is messy because these users often forget their passwords since they aren't using these accounts every day.  
    Is there a better way to do this so that we no longer have create and maintain user accounts for external users other than having to do a domain trust with all these other domains?
    I have heard of ADFS, but will it allow us to still control which sites and documents the external company users can access if we are not creating and managing the accounts and adding them to the correct security groups ourselves?
    We don't want every user from the partner's domains to be able to access the site.  If we use ADFS, how do we keep control of which external users have access to the site?

    Yes, you would add permissions just the same way you do with users from your local Active Directory. And yes, if you chose the email address to be the user's identifier, you would simply ask for the email addresses that you wanted and input those to the
    appropriate permissions on your SharePoint sites.
    You'll want to take a look at this:
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    Also another thing to keep in mind is that you'll need to have those 3rd parties set up ADFS themselves, and you'll create an ADFS Trust between you and the 3rd party.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2007 (WSS 3.0) migration to SharePoint Foundation 2013

    Hi
    I have a requirement to migrate a SharePoint 2007 (WSS 3.0) farm to a SharePoint Foundation 2013 farm. The WSS 3.0 farm has SQL Server 2005 Standard running so no restrictions on the size of the content database. The SharePoint Foundation 2010 and 2013 farms
    will share the same SQL Server 2012 Standard instance (as I know WSS 3.0 will have to be migrated to 2010 before 2013). I also have two other WSS 3.0 farms (so three WSS 3.0 Farms, lets call these A (250GB), B (90GB) and C (60GB)) that I need to migrate
    into WSS 3.0 Farm A before the migration to SP 2010.
    My question is, can I migrate a 400GB WSS 3.0 site collection to SP 2010 or will I have to split this into separate site collections? I have read that there is a best practice limit of 100GB per site collection but this does not stop a larger migration from
    happening. Obviously over time when the migration has completed to SharePoint Foundation 2013 the single site collection will grow and grow so perhaps now is the right time to split this out into, say, year named site collections, but surely this will incur
    an end of year process to create new site collections and a custom dev headache due to different locations to send newly created sites?
    Thanks.

    The answer is Yes, and you are correct about the best practice of a limit of 100GB,
    although, document and record centers (e.g. non collaborative) can go much higher.
    http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#ContentDB
    That being what it is, your sites will perform better if you find a topology that allows the content databases to be under 100GB each.  You can use Move-SPSite to accomplish that feat.
    You'll want a separate instance for 2010 and a separate instance for 2013
    and finally, put some quota's in place and then governance document\statement that informs users that 100 GB is the max for any given site collection that uses collaborative features (calendars, lists, workflows, etc.)
    The simple path is explained on technet, go from 2007 to 2010 (you can inplace upgrade if you want) then go from 2010 to 2013, database detach and attach is only way.
    please check the below link that explains more about the migration from share point 2007->2013.
    http://technet.microsoft.com/en-us/library/cc262483(v=office.15)
    Stacy www.sharepointpapa.com

  • SharePoint Foundation 2013 Question

    Hi,
    I install SharePoint Foundation 2013. Can I create different site WebApplication and Site Collection for Team Site as we can create in SharePoint Enterprise.
    Can I use SharePoint Designer for Workflow & Task List for Project Management in SharePoint 2013 Foundation.
    Is it possible to do custom coding using object model visual studio and deploy on SharePoint 2013 Foundation
    Thanks

    Hi,
    Thanks for posting your query, here are the things that you can do as mentioned above
    1. you can create Web Application and Site Collections
    2. You can use Designer workflow for task and lists
    3. yes, you can do custom coding user CSOM 
    Also, check out below mentioned URLs to know on all three point 
    http://msdn.microsoft.com/en-us/library/office/jj164060(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/cc261875(v=office.15).aspx
    http://technet.microsoft.com/en-in/library/cc263094(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/ms414613(v=office.14).aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Sharepoint foundation 2013: office docs can be opened in browser using IE but not in firefox or chrome?

    Hi
    Sharepoint foundation 2013:
    why when we open an excel or word  using chrome and firefox browser it wants to download the file.
    It can be opened in browser using IE but not in firefox or chrome?
    Any issues?
    Thanks

    Hello MGerio,
    Can you check what your Browser File Handling settings are of the web application (of the excel/word files)?
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • Sharepoint Foundation 2013 - Databases running in compatibility range, upgrade recommended

    I have an issue with Search within my SharePoint Foundation 2013 Farm. This is a new Farm, so I can remove the search service application and re-create if this is a way that can clear the 2 issues I am experiencing.
    Issue:
    My search service application seems to be working fine as I am able to crawl content and retrieve results, however the DB's associted with this search service application are reported with the following warning within the SharePoint Health Analyzer. I have
    been unable to run the Upgrade-SPContentDatabase command against these databases as I get a message saying that the content database could not be found:
    Title
    Databases running in compatibility range, upgrade recommended.
    Severity
    2 - Warning
    Category
    Configuration
    Explanation
    The following databases have versions that are older than the current SharePoint software, but are within the backwards compatible range:
    Search_Service_Application_AnalyticsReportingStoreDB_a3c64b2f3b9b4a5d83383ec0b1ecfcf4,
    Search_Service_Application_CrawlStoreDB_ffb8d716450242cc849a7f44f521bfc9,
    Search_Service_Application_DB_0fe433c02db6435db85285e9fd83863e,
    Search_Service_Application_LinksStoreDB_75efb2f689cf49f19c98a5a8155e47b7.
    Remedy
    To achieve optimal results from these databases, use Upgrade-SPContentDatabase to upgrade Content databases, or psconfig.exe to upgrade other databases.  For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142697".
    Kevin Evans

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/d6b8a59c-e432-43a2-9581-d281c8cb7fb4/databases-running-in-compatibility-range-upgrade-recommended
    ran these hotfixes on my frontends:
    417831_intl_x64_zip.exe
    429437_intl_x64_zip.exe
    429440_intl_x64_zip.exe
    Restarted and followed by 1,2,3
    1. Open an Administrative command prompt.
    2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
    3. Run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
    If you recently applied any  hotfix check 
    http://blog.entos.at/Lists/Posts/Post.aspx?ID=14
    If this helped you resolve your issue, please mark it Answered

  • SharePoint Foundation 2013 Web Analytics

    Problem:
    I am using SharePoint Foundations 2013 (no patches) and trying to get Web Analytics working but running into difficulty. The error I am getting is the dreaded, "A web analytics report
    is not available for this site. Usage processing may be disabled on this server or the usage data for this site has not been processed yet.", when I click on Site Settings -> Site Web analytics reports
    Items completed:
    Enabled Site Usage and data collection in Central Admin.
    Logs are full of data in the hive
    I can see the data in dbo.requestusage in the WSS logging database.
    Possible problem is that Web Analytics has been deprecated in SharePoint 2013 however why would Microsoft have Web analytics link if it was deprecated.
    Question:
    How can I get Web Analytics to show data or has it been completely removed from SharePoint Foundations 2013 and the link is just there for frustration?
    Jay

    We’re having the same Problem.
    According to the following links, “Usage Analytics” and “Usage Reporting and Logging” are
    available in SharePoint Foundation 2013:
    http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=96
    http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/
    Are they wrong?
    I don’t mean the search related Reports (Most Popular Items), I mean the very simple Reports like
    Number of Page Views, Number of Unique Visitors, Number of Referrers, Top Pages/Visitors/Referrers/Browsers (URL: /_layouts/15/usageDetails.aspx)
    Sharepoint Hosting und Beratung www.sharepoint-foundation-hosting.ch

  • SharePoint Foundation 2013 API

    Hi,
    I Wonder which are the SharePoint API used to develop an application (only) for SharePoint Foundation 2013 ? I know that SharePoint 2013 Core server class Library contains these namespaces but when you read NET server API reference for SharePoint 2013 all
    API apply to SharePoint Foundation.
    http://msdn.microsoft.com/en-us/library/office/jj193058(v=office.15).aspx
    Thanks for your help
    Mutandis mutatis

    After testing ,I think I understand now. You can use all API and namespaces available to develop for example the same standard or enterprise functionality in SharePoint foundation 2013.
    Mutandis mutatis

Maybe you are looking for

  • Issue with PO Currency when currency changed after the approval.

    Hi All, we have  get an issue with PO currency which is as follows Step1:Created a Limit PO with value  3.701,00  CHF and sent it for approval,,and PO is approved and transfered to backed (We are using  "Extended classical scenario'  . Step2:but we g

  • Delay writing I/O's in FieldPoint

    Hello, I have a problem with my VI when I load it in my FieldPoint unit. The program seem to be running very slow. One sylinder is to go out, return, and wait for a check (now set to DipSwitch 1), select the next sylinder -> Out -> In -> Wait for a c

  • Marketing Document Header Level UDF - Table Holding the Categories

    Hi All, I need the name of the table where categories of udf at header level of marketing document is stored. I cheked the table CPRF but it does not show the category code in which the udf will be displayed in the form, please help, Thanx in advance

  • FCP XML to Flint - Problems with Time Remap

    My Flint artist and I have had some problems with the XML Export and Import that we cannot figure out. The XMLs from FCP sequences that have variable speed Time Remaps applied show up on the Flint with those particular clips with the wrong in/out poi

  • No Health data through Health app, iOS 8.3

    The Health app is unable to access or display my health data. Normally the health app is shown as a source, but it is not now (below). Even if I manually add a data point (e.g. 10 steps walked) it does not display it. It is, however still receiving a