[iText-questions] multiple form fields with the same name

2002-05-16 Thread Carsten Frewert

Hi!

I just discovered a way to crash Acrobat Reader 5 / Win32:

If you put two or more form fields (I used textfields) with the same
name into a PDF document,

- Acrobat Reader 4.0 displays all fields, and input in one field shows
  up in all other fields, too.
  This seems reasonable, as all fields use the same variable text.

- Acrobat Reader 5 crashes (sooner or later) if you enter a field with
  the mouse pointer.

So take care to use a different name for every form field... ;)

Bye,

Carsten

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] multiple form fields with the same name

2002-05-16 Thread David Teran

This will not apply to radio button lists. Adobe should change this as soon as 
possible, because in HTML its normal to have multiple Checkboxes with the same name.

regards, david


On Thursday, May 16, 2002, at 12:38 PM, Carsten Frewert wrote:

 Hi!

 I just discovered a way to crash Acrobat Reader 5 / Win32:

 If you put two or more form fields (I used textfields) with the same
 name into a PDF document,

 - Acrobat Reader 4.0 displays all fields, and input in one field shows
   up in all other fields, too.
   This seems reasonable, as all fields use the same variable text.

 - Acrobat Reader 5 crashes (sooner or later) if you enter a field with
   the mouse pointer.

 So take care to use a different name for every form field... ;)

 Bye,

   Carsten

 ___

 Have big pipes? SourceForge.net is looking for download mirrors. We supply
 the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] multiple form fields with the same name

2002-05-16 Thread Leonard Rosenthol

At 3:09 PM +0200 5/16/02, David Teran wrote:
Adobe should change this as soon as possible, because in HTML its 
normal to have multiple Checkboxes with the same name.


The only way to change this would be to completely revamp how 
forms are structured internally in a PDF file.  They could do this, 
but it would break compatibility with all older viewers :(.


Leonard
-- 
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-629-3700 (voice)


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] multiple form fields with the same name

2002-05-16 Thread Leonard Rosenthol

At 12:38 PM +0200 5/16/02, Carsten Frewert wrote:
I just discovered a way to crash Acrobat Reader 5 / Win32:

Acrobat shouldn't crash, but...


If you put two or more form fields (I used textfields) with the same
name into a PDF document,

Yes, you can NOT do that!   The way forms are implemented in 
PDF sets it up so that can't have two forms with the same name...


Leonard
-- 
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-629-3700 (voice)


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] multiple form fields with the same name

2002-05-16 Thread David Teran

   The only way to change this would be to completely revamp how forms are 
structured internally in a PDF file.  They could do this, but it would break 
compatibility with all older viewers :(.

Bad news, i wonder why they  did it how its implemented now, it definitly is 
problematic when one is used to HTML. For example, PDFGenerator dynamically  converts 
XML to PDF. Now as we switched to iText, it can also convert HTML forms to PDF forms 
on the fly (http://217.115.139.170/cgi-bin/WebObjects/PDFGeneratorExample0), but we 
had a lot of trouble with this limitation and it also means to have a workaround at 
the server side, too.

regards, david



 Leonard
 -- 
 ---
 Leonard Rosentholmailto:[EMAIL PROTECTED]
 Chief Technical Officer  http://www.pdfsages.com
 PDF Sages, Inc.  215-629-3700 (voice)


 ___

 Have big pipes? SourceForge.net is looking for download mirrors. We supply
 the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] multiple form fields with the same name

2002-05-16 Thread Carsten Frewert

Hi Leonard!

On Thu, 16 May 2002, Leonard Rosenthol wrote:

 At 12:38 PM +0200 5/16/02, Carsten Frewert wrote:
 I just discovered a way to crash Acrobat Reader 5 / Win32:
 
   Acrobat shouldn't crash, but...

ACK. Not rendering the document and providing an error message would
be ok, but crashing is really bad. 

 If you put two or more form fields (I used textfields) with the same
 name into a PDF document,
 
   Yes, you can NOT do that!   The way forms are implemented in 
 PDF sets it up so that can't have two forms with the same name...

Thanks for the info. This should be pointed out in the PDF spec, but
that's not an iText problem.

Bye,
Carsten

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions