-
Sheesh. I know nothing about how to program in InfoPath. I'm pulling from many sources here ... can you help with what's wrong with this syntax? I get an error at ''ELSE''''
function CTRL19_5::OnClick(eventObj)
{
if (XDocument.Errors.Count > 0)
XDocument.UI.Alert(''Required information is missing as indicated by the red ...
-
Hi all,
but how is it possible to add values to a DDL programmatically.
Is there any way ?
Thx
-
Sorry, the above reply is not what you are looking for. Look at this thread instead.http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=33
-
David:
Would you be willing to share your code with me? I need to:
1) On clicking the Submit button, through code, check to confirm all required fields have been entered and if not, display a message box, then leave the user in the form. If they have, the form is then submitted (Sharepoint list) and InfoPath is closed. I have the close code ...
-
Hi Deb,
Check out this thread:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1123&SearchTerms=error,validation,required,field
-
With that need now clear, can someone help me write two pieces of code:
1) Check for any errors (required fields without values) and if found, display message 'required information missing', and return user to the form. If not found, submit the form and close the application.
-
Hi Patrick,
As u rightly said,it was a bad installation.
Thank you
regards,
Abhishek
-
[OFF-TOPIC]
gratz, scantwell! 0-100 posts in record time ;-)
-
Thanks for your answers and link. I'm going to use this feature this week. So keep in touch.
Best regards
Adam
-
How are you adding text to your rich text box. Manually or by code?