0
Dynamically populating dropdown lists in a pdf form from a datasource
New Here
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/td-p/821360
Feb 10, 2009
Feb 10, 2009
Copy link to clipboard
Copied
Is there a way to populate a dropdown list in a pdf form from
a datasource, specifically from an Access database table or query,
using LiveCycle Designer. I am easily able to do this using
cfselect in Coldfusion, however, cannot seem to figure it out for
pdf forms. I am aware of the Show Dynamic Properties option enabled
in LiveCycle Designer, and then binding to a datasource. However,
this seems limited as I am only able to select single columns from
Access (currently using an Access database) tables, and a unable to
select from queries like I do using cfselect in Coldfusion forms.
Is this something that must be done with Java scripting? If so, is
there any other way? I know nothing about scripting. Thanks
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821361#M76041
Feb 11, 2009
Feb 11, 2009
Copy link to clipboard
Copied
Yes!.. You can!...
Refer here for more info,
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=formsPDF_04.html
Refer here for more info,
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=formsPDF_04.html
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
PTOT Connect
AUTHOR
New Here
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821362#M76042
Feb 11, 2009
Feb 11, 2009
Copy link to clipboard
Copied
I have reviewed the link you sent me. What I am still having
problems with is the value attribute. What is allowed in the value
attribute? When I create the same dropdown with cfselect, I am able
to define which query to use and then which column to populate it
with. How can I do this with the cfpdfformparam tag? Can you give
me an example using the cfpdfformparam tag where the value
attribute is a column from an Access/SQL query? Thanks so much for
your prompt reply, you have given me hope 🙂
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821363#M76043
Feb 16, 2009
Feb 16, 2009
Copy link to clipboard
Copied
Hi DerrickDel,
Can you please post your code here?...
Can you please post your code here?...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
PTOT Connect
AUTHOR
New Here
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821364#M76044
Feb 16, 2009
Feb 16, 2009
Copy link to clipboard
Copied
<cfpdfform source="C:\Users\Derrick\Desktop\pdftest.pdf"
result="pdftest"
action="read">
<cfdump var="#pdftest#">
</cfpdfform>
<cfpdfform source="C:\Users\Derrick\Desktop\pdftest.pdf" action="populate">
<cfpdfsubform name="form1">
<cfpdfformparam name="Patient" value="">
</cfpdfsubform>
</cfpdfform>
result="pdftest"
action="read">
<cfdump var="#pdftest#">
</cfpdfform>
<cfpdfform source="C:\Users\Derrick\Desktop\pdftest.pdf" action="populate">
<cfpdfsubform name="form1">
<cfpdfformparam name="Patient" value="">
</cfpdfsubform>
</cfpdfform>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821365#M76045
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
Hi DerrickDel,
Do you want to create an interactive pdf form from where the user can select a value from the drop down presented?
(Or)
You just need to populate a pdf from database tables?.
Please clarify..
Do you want to create an interactive pdf form from where the user can select a value from the drop down presented?
(Or)
You just need to populate a pdf from database tables?.
Please clarify..
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
PTOT Connect
AUTHOR
New Here
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821366#M76046
Feb 17, 2009
Feb 17, 2009
Copy link to clipboard
Copied
I want to create an interactive pdf form where the user
selects a value from a drop down list on the form. I would like
that drop down list to be dynamically populated from a database
table or query.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
PTOT Connect
AUTHOR
New Here
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821367#M76047
Mar 01, 2009
Mar 01, 2009
Copy link to clipboard
Copied
Not possible eh?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821368#M76048
Mar 20, 2009
Mar 20, 2009
Copy link to clipboard
Copied
you can try doing a cfdocument format="pdf" and try making
that a interactive form... just a thought
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/coldfusion-discussions/dynamically-populating-dropdown-lists-in-a-pdf-form-from-a-datasource/m-p/821369#M76049
Aug 05, 2010
Aug 05, 2010
Copy link to clipboard
Copied
You can find a sample PDF here which related dropdown list are populated from Access table.
Enjoy,
Murat
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

