I have pdf document with text fields, radio buttons and checkboxes. Those 
fields has names from xml file (ex. radio button is named "//ProductId" and 
contains name of the products: a, b, c and d). I need to create an application 
that takes from radio button name of the product (in my case a, b, c or d) and 
put in to xml in xpath equal to radio button name. I need this because my task 
is to create software which let me build xml file an put some data into it.

It looks like this

Radio button named //ProductId
*       'a' on-value, 'off' off-value
*       'b' on-value, 'off' off-value
*       'c' on-value, 'off' off-value
*       'd' on-value, 'off' off-value

I choose product 'b' so it looks like this:
Radio button named //ProductId
*       'off'
*       'b'
*       'off'
*       'off'

I want to check radio button and take from it value 'b' and put into xml file 
in exact place:
<ProductId>b</ProductId>

I do not know how to do that and if it's possible with iText. The pdf file I'm 
working with contains a lot of data and I need name of the product because I 
have to know what path I have to choose. My application has few 'if' 
instruction and the way I go depends on name of the product.

If you have a different, better or wars solution you can write to me but I 
would rather you helped me with this one ?
 
Br,
Paweł Gawędzki

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie
Sent: Wednesday, June 11, 2008 3:26 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Radiobuttons in iText ?

Gawędzki wrote:
> Is it possible to get name of on-value from the EN-widget form this radio 
> button ?

Most of the times these widgets are unnamed. (Why
would they need a name?) You will have to explain
WHY you want that widget if you want any further
answer from me.
br,
Bruno

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

------------------------------------------------------------------------------
Skandia Życie Towarzystwo Ubezpieczeń S.A. 
ul. Cybernetyki 7, 02-677 Warszawa
Sąd Rejonowy dla m.st. Warszawy, XIII Wydział Gospodarczy
Krajowego Rejestru Sądowego Nr KRS 0000056463,
Regon: 016003836, NIP: 951-19-33-418
wysokość kapitału zakładowego: 46.000.000,00 PLN
wysokość kapitału wpłaconego: 46.000.000,00 PLN
------------------------------------------------------------------------------


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to