DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Better text input in oform (enhancement/bug)

Open shu0406 opened this issue 2 years ago • 20 comments

Would be perfect if oform would support richtext like control fields. Now it is just plain text which get hard to read if it is longer than 10 lines without any format and bullets.

If I export as PDF it gets even worst, the input field stays small even if I write more than 4 words, I think that's a bug: in PDF Xchange grafik in Firefox grafik

shu0406 avatar Mar 07 '22 17:03 shu0406

Hello, shu0406 Thanks for your request! Text formatting can be configured during form creation. Please attach a file. To check the problem display in pdf format

TatianaKirillova avatar Mar 11 '22 12:03 TatianaKirillova

I attached a PDF file, the problem exists in every of my pdf viewer (Xchange, PDFdrawboard, firefox, XODO PDF). The textfield stays that small even if I write much more text.

Sorry, I do not find the possibility to configure text formatting: Testformular.pdf

grafik

shu0406 avatar Mar 11 '22 14:03 shu0406

In order for the form field in pdf editors to be larger, you must enable the "fixed size" property of the form field and adjust the desired size by dragging the mouse outside the border.

TatianaKirillova avatar Mar 11 '22 16:03 TatianaKirillova

Thanks, that worked. However I still cant find the option to activate formatting inside the textfield.

shu0406 avatar Mar 14 '22 13:03 shu0406

great job :) Formatting inside form fields works the same as regular text formatting: go to the "Home" tab and change the font color, size, use a bullet, etc.

TatianaKirillova avatar Mar 14 '22 16:03 TatianaKirillova

I think that is a missunderstanding. I was talking about the person filling out the oform. There are no options to formatting the text, since there is no home tab and also the shortcuts like ctrl+b don't work: grafik

shu0406 avatar Mar 17 '22 17:03 shu0406

Yes, text formatting in the form field is available only at the document editing stage (in docxf format).

TatianaKirillova avatar Mar 17 '22 17:03 TatianaKirillova

I had the same problem and fixed it this way :) Regarding the formatting problem there is another one in dropdown fields: I didn't find any way to adjust the text color for this type of field. It always stays grey. grafik I formatted both fields in the exact same way in onlyoffice, however, the PDF output stays grey for the second (dropdown) field

Chartman123 avatar May 06 '22 16:05 Chartman123

please, attach a document to better understand the problem

TatianaKirillova avatar May 06 '22 16:05 TatianaKirillova

please, attach a document to better understand the problem

Will do that as soon as I'm back home again. Thank you for your quick response :)

Chartman123 avatar May 06 '22 16:05 Chartman123

@TatianaKirillova Here you are :) I had to zip the docxf file because Github doesn't accept that file type.

Antrag.zip

Chartman123 avatar May 07 '22 23:05 Chartman123

Thank you, @Chartman123! This behavior is correct (grey font color) if the text is written in "placeholder". In your document "Abteilung wählen" will be grayed out, the rest of the options will be black. There may be problems when displaying in a PDF viewer, try opening the document in Adobe Acrobat Reader.

TatianaKirillova avatar May 08 '22 00:05 TatianaKirillova

Yes, I understand that... But if I print the document (as PDF or on paper) the selected entry will also always be printed in grey and not in black. So I don't think it has to do with the PDF viewer...

Chartman123 avatar May 08 '22 00:05 Chartman123

@Chartman123, I cannot reproduce your issue. Can you tell me what OS you have?

TatianaKirillova avatar May 10 '22 08:05 TatianaKirillova

@Chartman123, I cannot reproduce your issue. Can you tell me what OS you have?

@TatianaKirillova I checked it again... The problem indeed only appears when I use the created PDF form. In OFORM, the text is printed in black. I'm using Linux with Firefox.

Chartman123 avatar May 10 '22 09:05 Chartman123

@Chartman123, Try to repeat your problem on the new version 7.1

TatianaKirillova avatar May 17 '22 08:05 TatianaKirillova

@TatianaKirillova I tried it today again with a newly created oform from my docxf. I then saved the oform as PDF and filled the file. It's still the same that the dropdown list will be grey text as soon as you for example open the print dialog. I have attached the new PDF file here Antrag_Mitgliedschaft (2).pdf .

Chartman123 avatar Jun 14 '22 12:06 Chartman123

@Chartman123 What program are you using to open the file? In Adobe Acrobat Reader or Foxit Reader?

TatianaKirillova avatar Jun 14 '22 12:06 TatianaKirillova

@TatianaKirillova I'm using Okular in KDE and the PDF viewer integrated in Firefox or Nextcloud. Couldn't test it with Adobe as it's not supported for Linux anymore. On Adobe Reader on Android, I couldn't test it either, as the app crashes as soon as I choose an entry from the dropdown list.

Chartman123 avatar Jun 14 '22 13:06 Chartman123

@Chartman123, Please create a new issue about this. I will write a proposal to solve it.

TatianaKirillova avatar Jun 15 '22 09:06 TatianaKirillova

Please create a new issue about this. I will write a proposal to solve it.

@TatianaKirillova I tested it again with the latest release and couldn't reproduce my issue. If I see again, I'll create a new issue 👍🏻

Chartman123 avatar Nov 17 '22 09:11 Chartman123

I still got some problems using oform in v7.3.3:

As you can see fixed fields are quite useless when typing more lines in oform (right) no matter which setting I use. Typing more lines is possible in infield field however as soon as I save it to pdf they disappear and get one looooooong line (pdf left). Also the date input (second field) disappears in pdf.

grafik

shu0406 avatar May 31 '23 08:05 shu0406

Hello, @shu0406

To enter a large number of lines, use the "Multiline field" setting, if you save to pdf format, it is also better to turn on the "fixed size field" setting.

In version 7.4.1. Are you still having problems with the Date& Time field?

TatianaKirillova avatar Aug 11 '23 20:08 TatianaKirillova

This issue was closed due no response.

Rita-Bubnova avatar Sep 19 '23 13:09 Rita-Bubnova