Friday, 18 April 2008

InfoPath Forms Services - Close Button Redirection

Hi All,

Here is a little tip - How to redirect users to a certain page after they have filled out a browser enabled form with InfoPath Forms Services (IPFS):
You should look for the "source" query string parameter in the form's URL, and change it to you certain page (On which you want to redirect).


That's it! every click on the "Close" button on IPFS toolbar, every rule you have insert that closes the form (i.e. in the submit button), or every other closing of the form will navigate the user to the URL in the "source" parameter.



Have A Nice Time !!!

Wednesday, 16 April 2008

Assign an Autogenerated Row Number to a Repeating Field

Assign an Autogenerated Row Number to a Repeating Field

If you want to display a row number on a repeating table you can use an Expression Box with the XPath set to position(). This is great if all you want to do is show the row number. But if you actually want to store the sequential autonumber in a field, there's a different XPath you can use.

We will assume that you have the following structure representing your table row:

my:RptGrp
      my:SNo
      my:Name
      my:Age

We will also assume that you want my:SNo to be automatically populated with the row number, while staying continually updated as rows are inserted and removed.
Double-click the SNo field in the repeating table.
On the Data tab of the Text Box Properties dialog box, ensure that the Update This Value When The Result Of The Formula Is Recalculated check box is selected.
Click the Insert Formula button to the right of the Default Value text box.
In the Insert Formula dialog box, type the following formula:

count(../preceding-sibling::my:RptGrp) + 1

Click OK twice.
Now preview your form and try it out. Whether you insert or remove rows, each Number field has the correct row number stored in it.

Have a Nice Time !!! :-)

Friday, 4 April 2008

Infopath forms - Anonymous access

This Link is good for You,
when you are creating infopath forms - Anonymous access.

http://www.paylasimnoktasi.com/en/anonymousinfopathforms.aspx

[=Amit]