Let me give alternative method to do without writing Submit Button code in the ASPX page :
Step1:Create a SharePoint List with columns(if Required) to Save data whenever user clicks the Submit Button in the ASPX form
Step2: Open the List in the SharePoint Designer and Check Out the List and Navigate to navigate it to NewForm.aspx(default APSX pages for a list)
Step3: Right Click on NewForm.aspx and Select New from Existing Aspx page named it as NewForm1.aspx
Step4: Open the NewForm1.aspx in the SharePoint Designer and Hoovers it as Default to Master Content
Step5: Select Insert Menu in the top of the options and Navigate to SharePoint Controls
Step6: Navigate the SharePoint Controls you will get the option Custom List Form
Step7: Click it you will see all the columns created in the List with Button OK and Cancel
Step8: Customize the Button Text and Value
Step9: Customize the ASPX page Example: creating the Custom Master Page and CSS and Apply for the NewForm1.aspx
Step10: Fill all details for the Columns in the Textbox’s and Click the Button Ok
Step11: It will Automatically Save the data in the SharePoint List and Refresh it
Thanks for replying Rao ...i know of this customization of newform but don't know excatly what all can be done ...i ll tell u my scenario...i have a form and all the data from that form has to go in a custom list ..now the thing is that in the form there is a feature of repeating table column ie the user who fills the form can enter one row or might be 2 ,,3 or any ....and this data has to be stored in the list now i want to know that how can i create columns on the fly ie i want to have a table in this customized newform that users can fill and then when they click save the data should be stored in the custom list .
Thanks Siva ..but now the requiremnts have changed and i won't be using the aspx forms ..but thanks for help the code great ..learned some good points from that ...
Can you plz tell me that how can i show data from sql server in sharepoint list ...ie i wabt a column in a custom list that when user fills the column data he will get a drop down that will show data from a sql server database and then when he selects a value i want some other fields to get auto populated getting their data also from the database.
Egon Software Pvt Ltd,
Let me start out by saying that I am aware that you can pass parameters to an InfoPath form by coding the FormEvents_Loading event.
Unfortunately by adding code to the InfoPath form you then have to have the form authorized by a system administrator. My client finds this intolerable when developing an InfoPath form.
I am looking for a way to pass data to an InfoPath form field without coding so that the form can be published directly to a form library, without the need for authorization from the system administrator.
Any information will be greatly appreciated.
If that is not possible is there a way to include custom functions in InfoPath so I could use it to format a field?
Suppose I have an array of IDs in my code and I want to use them to filter a list.
I need to use SpQuery because I need the resulting view to be rendered as HTML.
So how can I filter by ALL the IDs?
Should I create an OR statement for each one or there is a more logical way?
i like not to install SQL Server. i like to tell the SharePoint 2007 to communicate with the installed Oracle database manager instead whenever it needs to communicate with a database manager.
is it possible?
I am fairly new to sharepoint and I want to display data from a list in sharepoint like a table with colums like author, date added, title etc.
The title column should be like a link which when clicked, takes to the list item page.
Which WebPart should I use and how do I configure it.
One of my users is having a problem when uploading a file.
After selecting the file to be uploaded, clicks OK and gets an error screen.
He goes back to the site, and the file is placed there, checked out.
He can't check in, because there are some fields that must be filled.
He gets an error when he tries to "Edit properties" to fill those fields...
So, can't complete the file, can't check in...
He has Design profile.
The thing is, that I have tried to upload files and it is everything ok.
Any clue? Have you ever had a problem like this?
How to deploy InfoPath 2007 browser-enabled form web application in the Windows SharePoint Services 3.0 _layouts Folder.
I have hosted the InfoPath 2007 Form Editing Environment in a Custom Web Form as explained in msdn "http://msdn.microsoft.com/en-us/library/aa701078.aspx".
But I need to deploy this in the Windows SharePoint Services 3.0 _layouts Folder so that a SharePoint site will have a /_layouts path from the root of the Web. For example http://servername/sites/sitename/_layouts
Last Visit: 27-Oct-20 0:16 Last Update: 27-Oct-20 0:16