To enable Web Browser capable InfoPath Form, before you want to design anything ensure that all controls are browser enabled (meaning that it is web browser enabled) by going to Tools>Form Options... and select the Compatibility category which is the second last on the left listbox.
Check "Design a form template that can be opened in a browser or InfoPath". Then start designing your form using the available controls (the default controls will reduce and will only show web enabled controls). If you already designed your form and want to only check which controls are incompatible, go to Tools>Design Checker and click on the refresh button on the Design Checker toolbar. If all controls you are using are compatible, no error will appear.
Finally, if you want a submit button (for better user experience since most of forms usually automatically closes and automatically saves data and do all sorts of stuff, go to Tools>Submit Options... and check the Allow users to submit this form. Many options will become available.
To perform a basic submit and save to a sharepoint list, in the Send form data to a single destination, select Sharepoint document library. By selecting this, you must first create a data connection to your sharepoint list.
Click the Add... button and in the Document Library textbox, enter your sharepoint list url, and for the filename, it is recommended entering key information such as ID or anything unique from one another to differentiate form entries. Also include date and time as the filename to prevent duplicates. To do this click on the Fx button beside the filename.
Here you will be presented with a formula textbox. Click Insert Function... select Text from the Category in the left listbox, and select Concat in the Function listbox on the right. You will then be automatically redirected back to the previous formula textbox. Double click on the guide text "double click to insert field" and select which textbox form you want to include as the filename (I would suggest anything about ID). Once selected, the guided text will be replaced by the field you have selected. Now to add date, single click on the second "double click to insert field" and click Insert Function and select Date and Time as the Category on the left side and select Now in the Function on the right side. Delete the third guided "double click to insert field" text or if three is not enough for your preferences, you can add more seperated by coma. It should look something like the following:
concat(field1, now())
This will be the filename of each submitted form using the InfoPath Form Services generated by Sharepoint. Then click next until everything is verified and correct and you will be redirected back to Submit Options. Click on Advanced and more options will show, on the After submit dropdown menu, select Close the form and finally click OK and you almost done.
Save your form before publishing by clicking File>Save.
3.18.2009
InfoPath 2007: Designing Web Browser-Enabled InfoPath Form
Labels: Design, InfoPath, Template
Posted by pamungkas at 3:03:00 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment