Infopath, submitting a section at a time and then locking that section - list

I have an InfoPath form which has three sections. I want to submit one section at a time to a SharePoint list and when that section has submitted the user can't go back to change what's been entered on the form. Any suggestions? I'm pretty new to InfoPath but I'm thinking locking the sections would be done via rules?

Related

Create an instant validation in an Apex form

I would like to create validations for page items which are fields of a form. I currently have some validations set up for these page items but they trigger only after the form has been submitted. The way I would like the validations to trigger are before the form is submitted so that users get warned of errors with their current field values before submitting the form. I think what I am trying to achieve is called "server side validation".
Thank you in advance
You're looking for 'client side validation'.
There are a few good write-ups on the topic, including a plugin
http://dgielis.blogspot.com/2020/09/building-better-form-in-oracle-apex.html
And a deep dive by one of the APEX devs
https://hardlikesoftware.com/weblog/2017/05/10/apex-client-side-validation/
The main thing to remember is regardless how to supplement the UX with client side validation, server side validation is a required.
Also note, natively defined validations are also performed prior to page submission, where possible.
https://content.dsp.co.uk/apex/client-side-validations

Is there a way to change the blank attribute on Django form fields to False by clicking a button?

I am building a review form that will post to a single model in my database. This form will have multiple sections, each with its own set of questions. I want the user to be able to complete a section and hit a submit button that will save the progress and redirect them to the next section. In essence I want to create an in progress status for the review with the idea that as all sections are finished the user can hit a complete button that will run my validation on the entire form. However, I do not want to allow posting information to the database that has not been cleaned.
I've been thinking through this trying to work out what I need to do and believe the best bet would be to have a complete button on the last page that changes blank to False for the fields of the form. I believe this would allow me to fill out each form and post it to the database as all fields would start as optional but then for that specific model instance the click of the button at the end would institute a change making all fields required, thereby running validators to ensure the form is complete. I believe this will also allow for saving progress and returning to it later if interrupted during completion of the form.
Can anyone provide any insight on if this is even possible? If so does anyone have examples that could guide me?
You can store the unvalidated data to the user's session. The final stage pulls all previous step data out of the session for validation. IIRC the Django form wizard does just this so you don't have to write it.
I might instead do this client-side, using one big (probably Crispy) form, and some client-side pseudo-submit buttons that just invoke Javascript to hide one section of the big form and reveal the next. The final one is a real submit, and redisplay of the whole thing if there are errors.

Passing a value from one Sharepoint page to a table in a second Sharepoint page

I made a table on a SharePoint page using a webpart/snippet and some coding. My goal is to add code to pull a value for a couple of the cells in the table from another SharePoint page using a QueryString. My issue, I'm newer to SharePoint, and not sure how to set up the page that I'm pulling the information from. Ultimately, the page with the table will only be editable by a few owners. The page with the info to populate the cells will have multiple people that have the permission to edit the page to update their information daily. Now, here is where I'm not sure how to proceed. I don't want the users, most of which have no coding experience, to have to deal with entering their daily values into a coded snippet. But I'm not sure how to call the value from randomly entered data on a SharePoint page line. I believe it is SharePoint 2013. I can insert a table using the SharePoint feature rather than a snippet code, and that would be easily editable for the users. But Then I'm right back with not being sure how to call the information. I believe I can come up with the code once I figure out how I need to set up page with the information, but can edit the question as deemed necessary.
Follow the below thread
There are many way to send data from one page to another page
Query string is better if you are using table, redirect the link using custom code else follow the below link it might be help you to clarify or achieve something
https://social.technet.microsoft.com/Forums/sharepoint/en-US/b9d62eb1-57ed-4251-975d-13f9ae35f29f/how-to-pass-query-string-parameter-from-sharepoint-list-view-web-part-?forum=sharepointdevelopmentprevious
have a nice day
Regards
Vinod

Infopath 2013 Buttons

We have developed a form that is being used via SharePoint 2013. We would like the audience to be able to click on a list item to open up the InfoPath form and then when in the InfoPath form, press on the created buttons to load different views of the form and hide/show certain sections....without it being in Edit mode.
The premise being that the end user has an interactive form that is quick and easy to use upon loading.
Is there any way that a user can activate the rules applied to the buttons in Read mode or does Edit mode always have to be activated first?
Many thanks in advance for any hints or tips!
Well technically you can create a Read-Only form by making all the Pages Read-Only in their settings and use data connections to pull the data into the form fields you want.
So I would make a landing page with buttons that would change the view, run a query and set fields values that you want to display for each Read-Only page/view.

How can I use InfoPath 2013 with SharePoint 2013 to upload a document when the user submits the form?

Background: I want to make a form in SharePoint for the user to submit vendor information. They fill out the form and attach a document with products and pricing. I can't figure out how to make a form that I can publish to SharePoint to do this. When I use InfoPath's file attachment it fails to publish. I tried using info from this link here but I'm not sure that it's actually a SharePoint form instead of a standard form.
My solution doesn't need to use the attachment I just want users to be able to easily submit the form with the attachment at the same time.
P.s. Sorry if my question is bad. First time using SharePoint, InfoPath, and posting here. Thanks in advance.
Any list that supports attachments should allow you to add an InfoPath form control for that field which will allow the users to add the attachment as part of the form submittal.