Search - InfoPath Dev

InfoPath Dev

Search

Page 62 of 70 (691 items) « First ... < Previous 60 61 62 63 64 Next > ... Last »
  • Re: Setting a Boolean Value

    Hi Herb Welcome to the Forums, You probably need to remove the xsi:nil attribute. Here is the code: IXMLDOMNode FullNameNode = thisXDocument.DOM.selectSingleNode(''//my: Full_Name''); removeNil(FullNameNode).text = ''true''; public IXMLDOMNode removeNil(IXMLDOMNode node) { //Determine whether the xsi:nil attribute is set for this //element. ...
    Posted to Code (Forum) by Shiva on 10-24-2006
  • Re: Click a button from javascript

    Hi Eric You can write the below code in button onClick event XDocument.View.SwitchView(''View Name'');
    Posted to Newbie Questions (Forum) by Shiva on 10-23-2006
  • Re: List Boxes and Repeating sections

    Hi Ren, Follow the below steps, 1. Add “Repeating Section” with the “Title” field. 2. Add one more field “Reference” and bound to list box. 3. Select “Look up values in the form#%92s data source” option in list box. 4. Select “group2” (repeating section) from “Entries”. 5. Click on preview. 6. Which ever you added the new title you could see in ...
    Posted to Newbie Questions (Forum) by Shiva on 10-22-2006
  • Re: email data validation

    Hi Sylapse, Another way use a custom data validation pattern. Here's an example: ''(.+)@(\w+)(\.\w+)*\.(\w{2,6})''
    Posted to Controls (Forum) by Shiva on 10-18-2006
  • Re: cascading drop downs with unique filter

    Hi Trufooser, Can you try below filter once. not(. = ../preceding-sibling::d:LookUp[@Type = current()/my:Type[@Area = current()/my:Area[@RESULTS = current()/my:RESULTS]]]) In above filter @Type, @Area, @RESULTS nodes from secondary.
    Posted to General (Forum) by Shiva on 10-18-2006
  • Re: InfoPath Date Picker the same as current date

    Hi Michael, You can write the below code in onLoad function. Whenever form loads today date is set to your date picker field. string now = DateTime.Now.ToString(''yyyy-MM-dd''); thisXDocument.DOM.selectSingleNode(''Date field xpath'').text = now;
    Posted to General (Forum) by Shiva on 10-17-2006
  • Re: Extract Week Number from Date

    Hi kurtd, Use eventObj.Source.selectSingleNode(''attributename'')instead of thisXDocument.DOM.selectSingleNode(''/dfs:myFields/dfs:dataFields/d:tblTasks/@dteDate'') Using eventObj.Source lets you access the fields in the current row where the event has occurred. One important point to note is that when you use eventObj.Source, you have to ...
    Posted to Controls (Forum) by Shiva on 10-13-2006
  • Re: Extract Week Number from Date

    Hi kurtd, Your xpath should be like, ''/dfs:myFields/dfs:dataFields/d:tblTasks/@txtWeek''
    Posted to Controls (Forum) by Shiva on 10-12-2006
  • Re: Only Numeric characters allowed

    Hi Michael, If you want only numeric values in text box then you need to add a validation for that field like 1. “fieldname” is less than are equal to -65,536 or 2. “fieldname” is less than are equal to 65,535 Otherwise on validation condition you can select ‘use formula#%92 in right side drop down and set your condition depends on your ...
    Posted to General (Forum) by Shiva on 10-12-2006
  • Re: Conditional Formating for Unique Values

    Hi Clay, Can try once xpath is like “not(.=preceding::d:OE/@NID)”. Before trying for above xpath you need to test first of all right side field xpath is correct or not. For this, you can try “d:OE/@NID” xpath is default value for one field and that field which is same level “d:OE” only. If you gets value then our above xpath is correct. By this ...
    Posted to Controls (Forum) by Shiva on 10-12-2006
Page 62 of 70 (691 items) « First ... < Previous 60 61 62 63 64 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.