Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Map array fields in PDFs #123

Open
1 task
BroderPeters opened this issue Feb 22, 2024 · 0 comments
Open
1 task

[Bug]: Map array fields in PDFs #123

BroderPeters opened this issue Feb 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BroderPeters
Copy link

BroderPeters commented Feb 22, 2024

Expected Behavior

In a PDF file like this, form fields are provided as array (e.g. in scribus a field is named acrobatics[1]).
New Character.pdf

Mapping values from foundry to acrobatics[1] maps and exports the value correctly.

Current Behavior

Trying to map it currently doesn't put out a value. Neither in the module form nor in the PDF.
Am I missing documentation or a specific feature for this?

View in "Export to PDF" screen in FoundryVTT:
image
Values in Developer Console of PDF Sheet:
image

Steps to Reproduce

For this specific one, I started to re-map the existing mapping for Starfinder from this repository, as the linked PDF from the README is not available anymore.
Picking the PDF template from https://hephaistos.azurewebsites.net/ I started mapping the values accordingly and stumbled upon the mentioned array in the PDF form.

I've used this mapping (saved as json because GitHub only allows certain file uploads here) and the before mentioned PDF.

Context

No response

Version

0.24.9

Foundry VTT Version

11.315

Operating System

Linux

Browser / App

Chrome

Game System

starfinder 0.25.2

Modules Disabled

  • I can confirm that disabling all of my other modules doesn't fix this issue.
@BroderPeters BroderPeters added the bug Something isn't working label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants