Answers / PDF Forms
I am creating a license template. 2 of the fields need to have superscript. I need to display 1st and 30th with the "st" and "th" being superscript. Can I do this? If so, how. I tried setting the field to allow rich text formatting... but couldn't make it work.
Susan Long 1143 days ago
Susan Long Commented 1143 days ago | Report
Unfortunately no Unicode characters. Will it matter that the person using the form is using Reader, not Pro?
Will you pre-fill the form, or will the user add the information? Will the superscripts be added programmatically, or is it up to the user to do so?
Max Wyss Commented 1143 days ago | Report
I am trying to pre-fill as much as I can. At this point I am assuming the start and end dates (aside from the changing years the license is valid) will stay the same, but I wanted to give them the option to customize if that changed in the future.
"Will the superscripts be added programmatically, or is it up to the user to do so?"
That's the part I'm trying to figure out.
Both the questions you are answering for me are about the same form.
What you could do is setting up a date entry field, evaluate its results, and then assemble the "beautified date" and show it in another field (which can be read-only).
You lost me a bit with the last answer. Do you mean have the user fill in the date in a non-printing field, take that entered date, run it through a script and use the result to fill in that part of the template?
ok (same form), however, as others may follow the questions at a later time, I try to answer specifically
yep, that's the idea; your user enters the date (or selects it), you interpret it with a script, and write it out into the field with the richText setting.
Fields with richText settings can be overwhelming for the non-regular user.
can I just create a superscript using rich text settings?
Sure, you can do that manually. If that's it, and no user interaction of any kind is involved, you are there; just make sure that the field does not get reset.
As soon as interaction is needed, you will need ways to update the field.
Well, the span object is not the easiest one to grasp, I agree. And in addition to that, the implementation of richText is a little bit quirky as well.
Feel free to ccontinue asking, and we may find a solution.
Few more details... I am pc based, using Acrobat 9 Pro, but I have NOT taken the form into LiveCycle Designer (it's pretty simple).
Get started withAcrobat DC
Start free trial
Everything you need to get started using the all-new Acrobat DC.
Learn more >
Last 30 Days