2

I am trying to build a customer feedback form in sharepoint. I have created a sharepoint list, which I was hoping to serve as the place where the feedback(s) will be collected. I have also made an html page for the form.

  1. How do I add the html form to an aspx page? ( I have tried adding the same through "Content Editor" webpart, but it doesn't seem to accept html forms. I've also seen an "html form web part" but I'm unable to add my html page so)

  2. Is it possible to connect the data during a user submit to the sharepoint list without using infopath? If yes, how can I accomplish this?

3
  • Thanks a lot for those advises. Really helpful. Though I still have 2 questions: 1. How can I change the "save" button to "send" button 2. Currently, when a user clicks on the "save" button, he/she returns directly to the list. In the case of a contact form, I would like to send the user to a "thank you" page (HTML page) or to the homepage. Any ideas? Thank you very much in advance.
    – Christophe
    Dec 5, 2018 at 9:51
  • Please go through sharepoint.stackexchange.com/conduct Dec 5, 2018 at 10:18
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – P S
    Dec 5, 2018 at 11:08

2 Answers 2

6

You can implement this by creating a Custom New Form and adding the HTML you have already created to this aspx page. This will be bound to the SharePoint List .

Each SharePoint List by default has NewForm.aspx,EditForm.aspx and a DisplayForm.aspx. If you open the SharePoint Designer you can view them as below:

enter image description here

You can add a new Custom Form and set it as the default new form so that it will over ride the existing form for the list. enter image description here

The new form will be added along with other forms. enter image description here

Once it is created, you can add the required Controls to the aspx page and design them in different layouts

enter image description here

The form by default has a single column layout but that can be changed using Table formatting.
enter image description here

Implementation Links

The detailed implementation can be followed from Here

A detailed video on how to do the same can be found Here

5

There's a great solution which allows you to build a HTML form for SharePoint lists if you're okay using JavaScript and jQuery.

Original solution: http://www.markrackley.net/2013/08/29/easy-custom-layouts-for-default-sharepoint-forms/

Updated this year: http://www.markrackley.net/2017/05/04/customize-your-sharepoint-classic-forms-without-infopath/

1
  • Thank you so much for these pointers. I will try these out.
    – srjit
    Aug 4, 2017 at 23:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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