Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Drag-and-Drop multiple compendium attributes to single text input

1680544469

Edited 1680545869
라브
Pro
Translator
Hi there, I'm trying to integrate the D&D compendium on my custom character sheet. I would like to have "Size Type, Alignment " (ex.  Huge dragon, Chaotic Evil)   in one single text input field (like how it's seen on Roll20 5e sheet), instead of creating 3 different input fields with <accept="Size">, <accept="Type">, <accept="Alignment"> respectively. I tried <accept="Size Type Alignment">, but it doesn't work. Is there a way to do this? I understand this is possible if I pull the attributes in a hidden field first and then display it in another input field as readonly, but I would like this field to be editable. Thanks in advance.
1680548217
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You'll need to use a sheetworker to process the drop instead of relying on the html properties alone.