-
You should be able to set up your submit to close on success so you don't have to do that in code.
Also in code you can check the Errors count before deciding to close.
-
I have form with numerous required controls. My Submit button uses Rules and Code as follows:
Rule 1 - Submit to Data Connection
Code - Close App.
I would like it to behave so that if the user doesn't enter all the required information, they can't submit the form. I tried modifying the Submit button this way:
Rule 1 - Long list of OR ...
-
Got it, thanks!
I guess what I was more interested in is printing any view I want from any other given view with the click of a button, without any regard to what the default print view happens to be on that page that I am ''clicking'' from. I want to be able to have a main ''control panel'' of buttons, where users can click buttons to print ...
-
Thanks for the reply Matt
I replied to your other post in the controls area with an answer. This is pretty much the same issue so instead of dupicating the threads i replied there.
I have tried repeating sections and i get the same result.
-
The second data connection is a share point list. It receives data from the sharepoint list.
I need it to recieve all of the data that matches the a 3 digit code that the form is based off.
The three digit code is one of the columns in the sharepoint list i am receiving from. So i need the repeating table to pull 4 columns of information and i ...
-
From the Views task pane, double-click the View and switch to the Print Settings tab. From here you can set another view as the Print view. When you press print (or issue a print command via code) while on the original view InfoPath will print the view that has been designated as the Print view.
As for printing via code - the reason you are ...
-
I have a simply form which i am testing to see if i can get some vb code working.
the form has three fields, fname, sname, username, and a button with custom code as
dim sFirstname, sSurname, sUsername
sFirstname = XDocument.DOM.selectSingleNode(''//my:myFields/my:firstname'').text
sSurname = ...
-
Is it possible to use the button rule ''Submit using a data connection'' to send only the current view as teh body of the message and not the whole form as an attachment?
I also want to make sure that I only send the current view. I don't want any of the other views to be submitted.
-
That's it, i see page number in the print preview and no page number on the print job :/
Guess i'll check printer margin.
EDIT:
Check done, nothing to notice, I print on a PDF printer, but i try on a ''real'' printer and i guet the same issue :/
-
Why couldn't you use the Master/Detail control and have it link by the Issue ID key field? I've tried to drop in the Master/Detail control, then change the binding of the ''master'' part of the control to point to my Sharepoint issue list. The problem is that when I do that Master/Detail tab of the Repeating Table (master control) properties ...