Copy link to clipboard
Copied
Hi,
I would like to make a button that automatically fills out my form.
Actually, I am trying to make a sort of a shopping cart, when I press the button the text attached to this button will appear in my form, text - in one colomn and a price in the other one. The prices sum up to get the total.
Could anyone tell me if its possible to do with javascript, and if yes what code to use?
You would really help me out, thanx in advance fot your answers
Yes this is possible. Read this article:
https://acrobatusers.com/tutorials/change_another_field
And this one, that comes with an example of an order form, but its more complicated than you probably want
https://acrobatusers.com/tutorials/js_list_combo_livecycle
And you'll find an example Rental Form here, that acts just like the order form you're asking aboutl
https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-2
Copy link to clipboard
Copied
Hi Yannickg,
Sorry for the delay in response.
I don't have an answer to this question, but I guess this may be possible with JavaScript.
I am moving this thread to JavaScript forum and suggest you wait for experts to help you with your query.
-Tariq Dar
Copy link to clipboard
Copied
Yes, it is. Are you using a single field for the "summary", or multiple ones? How about if the customer wants to remove an item from the basket?
Copy link to clipboard
Copied
Yes this is possible. Read this article:
https://acrobatusers.com/tutorials/change_another_field
And this one, that comes with an example of an order form, but its more complicated than you probably want
https://acrobatusers.com/tutorials/js_list_combo_livecycle
And you'll find an example Rental Form here, that acts just like the order form you're asking aboutl
https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-2
Find more inspiration, events, and resources on the new Adobe Community
Explore Now