Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to create a button that adds form field and also delde if it needs to?

Community Beginner ,
Feb 28, 2023 Feb 28, 2023

Hi I am recreating this PDF form that was created from LifeCycle Designer. 

I need to create a page that had a button, "Add...numbers" and when you click on it,

another set of 3 number field will be added to last line and so on. If you hit "X" button it will be removed.

Do you have any thoughts on how to do this? Thank you so much!
Screen Shot 2023-02-28 at 8.33.44 PM.png

TOPICS
Create PDFs , JavaScript , PDF forms
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2023 Feb 28, 2023

It would be best to already place fields and then hide them and use a button with script to show them in sets of 3 on each click. You would need another button to hide them again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 01, 2023 Mar 01, 2023

thank you so much Nasa, looks like this is what I need to do... I was hoping there is a Java script for this, but it is more complicated than I thought! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 01, 2023 Mar 01, 2023

Be aware that unlike in an LCD form, you can't "re-flow" the page's contents when adding (or deleting) fields in an Acrobat form.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 01, 2023 Mar 01, 2023

THANK YOU try67 Oh I see, that's good to know! I wonder why LCD discontinued...it was a reat app!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 01, 2023 Mar 01, 2023
LATEST

It has a new name:

AEM Forms Designer

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines