Javascript font formatting for business card form spans.push
- June 10, 2022
- 1 reply
- 1506 views
I'm so stuck I need help. No matter what I've tried I can't get a font to change within my fields.
I'm building a business card template. My company has a software can than read the pdf form. There are visible fields that the user enters in and read only fields that populate all information into the proper placement and formating. There are also many variables based on what the user enters.
It's so close!! but I'm stuck on getting the Museo Sans font to display with both 300 and 900 on the same line. I'll attach both a form example and a pdf example of what it should look like. I need the form to apply Museo Sans 900 when the following letters populate within the emailfill field and the numbers fill field: "t:", "c:", "f:", "e:", "w:" I've exhausted every option trying to find a way to get it to change but not a single attempt has proven even remotely successful.
I also need the numbers to format in 000.000.0000, but I figured I'll deal with that after I figure out this other formating issue.
