-
Hello all,
does someone out there know how i can set up a data validation which checks if the entered value is not longer than six characters (can be numbers or letters).
Additional question: Can I change the message that pops up when the user tries to submit the form but hasn't filled all mandatory fields yet ?
Thx
-
Hi all,
I have an InfoPath form created with MS Visual Studio (c#) and as a secondary data source a connection to a SQL database. The checkbox to automatically retrieve data for the data connection is disabled. To keep it simple let's say I have one textbox and one dropdown list in my form. first the user enters a number into the textbox and then ...
-
Okay I found a workaround, I just hide the repeating table as long as the two fields aren't filled and the qurey ran.
But still if someone has a better way please let my know.
Hmm or do I just have to disable the automatically retrieve data checkbox
-
Okay the query works in the onclick event now i just need to know how to avoid loading data into the repeating table when the form loads.
-
Ok Guys,
I started working on a new project (C# code) with Sql database integration.
I have a secondary datasource (sql) and have a repeating table within my form. The problem is that when loading the form directly all rows from the database are shown in the repeating table. What I want to have is that the query starts running not befor two ...
-
Are we talking about the .xsn file ? Then yes by right clicking you can choose Design, then a message appears which says something like: This form has been published to one location and then saved or moved to another location. Before deploying this form to the user you should publish it again. Now you can make some changes (or not) and publish it ...
-
You cannot open it at all ?
Try right clicking on it and select Design. Then try to publish it again to the location wehre it is supposed to be now.
-
Hey guys take a look here, I think this should help you out or at least point you to the right direction.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2328
Cheers it's weekend now !
-
Hi Agni
first thank you for your fast reply.
But I still get an Object Reference not set....
when using this code:
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode(''my:myFields/my:Main/my:group1/group2[position() = 1]'');
node.parentNode.removeChild(node);
or should i use
IXMLDOMNode node1 = ...
-
Hi Matt,
thx for your porposals. I realzied that i don't have to check if they are the same i can just delete the first, second, third... (following an algorithm) node of the table but somehow it does not work. Can you tell me how to delete for example the first node (the whole row) of a repeating table ( i am using c#)
Thx a lot