Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF export displays all the options from a select HTML tag

Chris Armstrong March 12, 2014

Hello,

I'm using the custom HTML macro to create dropdown lists using the <select><option> tags:

<select><option value='a'>Option a</option>

<option value='b'>Option b</option>

</select>

What's happenign is when I export the page to PDF, all of the option values are being displayed:

'OptionaOptionbetc'

I only want the PDF to display the option that is currently selected. How can I do this?

2 answers

0 votes
Maarten Cautreels
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2014

Hi Chris,

I guess, since your using a Custom HTML Macro, dropdowns are not supported in the Confluence Export to PDF. PDFs are generated with iText, a Java Library for creating PDF documents. Normally this library does have some support for forms. However depending on how Atlassian implemented the export, this will or won't work.

To be sure I'd check with their support at http://support.atlassian.com

Best,

Maarten

0 votes
Chris Armstrong March 24, 2014

Nothing?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events