Call my function in PDF form created by Writer?

Discuss the word processor
Locked
User avatar
kumuseki
Banned
Posts: 1
Joined: Thu Sep 03, 2020 6:53 am

Call my function in PDF form created by Writer?

Post by kumuseki »

I need to create writable PDF forms with the OpenOffice Writer. With the form controls, I can begin to get along. Now gimmicks start :-)

I have a list box. Select a month there e.g. September 2020. The number of working days in this month should then be entered in another text field. I know from experience that many of my colleagues are intellectually overwhelmed by this. So I'm looking for something like an if-then function. If September 2020 was selected in the list field 1, the number 22 should appear in text field 1.

Is that possible? And if so: how?

 Edit: SPAM removed, topic locked -- MrProgrammer, forum moderator  
Last edited by kumuseki on Mon Oct 26, 2020 5:02 pm, edited 1 time in total.
OpenOffice 4.1.3 on Windows 10
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: function?

Post by RoryOF »

There is a full set of macros for manipulation of list boxes in every Writer document; these are at /Tools/ /Macros //OpenOffice Macros /Organize Macros /OpenOffice Basic //Tools /Listbox

Enjoy yourself!
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Locked