Skip to main content
New Participant
May 13, 2024
Question

importing excel forms to adobe and associatied problems

  • May 13, 2024
  • 1 reply
  • 614 views

I imported an excel spread sheet form into adobe. It did not bring across the drop downs and the "equal to" .

IIhave reconstructed the drop downs but now I need the selected from the drop downs to auto fill the cells on the next form.
How do I do this??

This topic has been closed for replies.

1 reply

try67
Adobe Expert
May 13, 2024

Fields and equations/calculations are not carried over when converting from Excel (or any other Office format) to PDF. They have to be re-created in the PDF from scratch.

 

To populate a text field from a drop-down selection you need to use a script. This is the basic code (to be used as the custom Validation script of the drop-down field):

 

if (event.value=="Option 1") {
	this.getField("Text1").value = "Some text for Text1";
	this.getField("Text2").value = "Other text for Text2";
} else if (event.value=="Option 2") {
	this.getField("Text1").value = "Some other text for Text1";
	this.getField("Text2").value = "Other other text for Text2";
} else {
	this.getField("Text1").value = "";
	this.getField("Text2").value = "";
}

 

Adjust the field names and values in the code as needed, of course.

New Participant
May 14, 2024

Ok that is not working. Here is a pic of what I want to do. The info from column Track Style & colour page 1 too Track Style & colour page 2

 

New Participant
May 16, 2024

Can someone answer this question or do I need to submit another request???