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.

Thanks for the link, amosbatto! I was searching fo[…]

Hello Please can you help me with the place where […]

Hi there, I have 3.5.7, 3.8.1 and 3.8.2 versi[…]

AI bot development involves creating intelligent b[…]