Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 2 (13 items) 1 2 Next >
  • Re: Change the caption of the InfoPath

    Hi Greg, I made a simple template as following: 1. one button and one text box. 2. JS codes are: function XDocument::OnLoad(eventObj) { Application.ActiveWindow.Caption = ''Hello World''; } function CTRL1_5::OnClick(eventObj) { Application.ActiveWindow.Caption = ''Hello World again by Clicking''; } Every time the form is opened by either ...
    Posted to Newbie Questions (Forum) by larniel on 09-01-2006
  • Re: Customize an expression box or a vertical label

    Hi Matt, That blog helps me a lot. I found that ''concat()'' meets my requirement. Thank you very much! quote:Originally posted by Matt Faus Hello larniel, You might be able to accomplish this by using the eval() function, but I'm not sure quite what the syntax would be in this scenario. For more info on this function, check out this post ...
    Posted to Newbie Questions (Forum) by larniel on 08-30-2006
  • Customize an expression box or a vertical label

    Hi, When I use XPath expression to customized the text of the expression box (or the vertical label), is it possible to manage the text like constant characters + variable characters? E.g. ID: 1 ID: 2 ... Among these, ''ID: '' are constant characters, and 1/2/... are values of XPath expression ''/my:root/my:ID'' difference from case to ...
    Posted to Newbie Questions (Forum) by larniel on 08-29-2006
  • Change the caption of the InfoPath

    Hi, I'd like to customized the caption of the form, e.g. ''Absence Request form of **** Co. Ltd.'' In the XDocument:OnLoad() I write Application.ActiveWindow.Caption = ''Absence Request form of **** Co. Ltd.''; When the form is just opened, the caption displays properly. However, it's soon changed to ''Form1'' (in case of double clicking the ...
    Posted to Newbie Questions (Forum) by larniel on 08-29-2006
  • Re: How to edit the DOM of the main data source?

    Thanks Greg, The DOM of the main data source can be modified, although the document says that XDocument.DOM is a read-only attribute. quote:Originally posted by larniel Hi Greg, I looked through the InfoPath SDK document as well as InfoPath help document, but didn't get any solution. According to the document, DOM of the secondary data source ...
    Posted to Newbie Questions (Forum) by larniel on 08-24-2006
  • Re: How to edit the DOM of the main data source?

    Hi Greg, I looked through the InfoPath SDK document as well as InfoPath help document, but didn't get any solution. According to the document, DOM of the secondary data source can be got and thus nodes can be remove by the function ''removeChild()''. But if we get the DOM of the main data source by ''XDocument.DOM'', it is read-only, which means ...
    Posted to Newbie Questions (Forum) by larniel on 08-24-2006
  • Re: pass parameters (form data) to template

    Hi Agni, Yes, I read this post before. One thing I forgot to mention in my question is that the technic I am adopting has no capability to write file on server/client machines. And what's more, sharepoint is not available... However, I've got that JS codes working.:) Many thanks! quote:Originally posted by Agni Jonnalagadda I am not much ...
    Posted to Newbie Questions (Forum) by larniel on 08-23-2006
  • Re: How to edit the DOM of the main data source?

    Hi, What I want is not to modify values of the nodes, but to remove some nodes of the DOM of the main data source, is it possible? Thanks!
    Posted to Newbie Questions (Forum) by larniel on 08-23-2006
  • How to edit the DOM of the main data source?

    According the help, DOM can be edited by function removeChild() etc. While the GetDOM() of XDocument object applies to the data objects which means that only DOM of secondary data source can be got by this funtion, and DOM property of XDocument object is read-only, how can I edit (mainly remove some nodes) the DOM of the main data source and get ...
    Posted to Newbie Questions (Forum) by larniel on 08-22-2006
  • Re: pass parameters (form data) to template

    Hi Agni, Actually I have implemented what you said before posting this topic. What I am doing now is to open the template directly. I found some sample JS codes which is said that can manage this. However, it has some problem on my machine. That is, JS code ''var oApp = new ActiveXObject(''InfoPath.Application'');'' just returns a null ...
    Posted to Newbie Questions (Forum) by larniel on 08-22-2006
Page 1 of 2 (13 items) 1 2 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.