Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By clarksleap
#814901
Hello everyone,

Is there a way by which one can change the font settings for all fields in a form (irrespective of type - textbox, dropdown, grid etc.) in a single line statement? I am presently changing them one by one to a standard that I desire.

Thanks in advance.

SGK
User avatar
By amosbatto
#814902
If you want the font in a single Dynaform, add this JavaScript to the DynaForm:
Code: Select all
$(".textlabel").css("font-family", "serif");
$(".pmdynaform-form").css("font-family", "serif");
To change the font in all Dynaforms, edit the file workflow/public_html/lib/pmdynaform/build/css/PMDynaform.css.
Change the "pmdynaform-form" class starting on line 774. Also add a new class at the bottom of the file:
Code: Select all
.textlabel {
   font-family: serif;
}
Then clear the cache on your web browser and in ProcessMaker go to Admin > Clear Cache and select all options and click on "Clear".

You might want to create your own skin.
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]