Bug using GFAPI::add_form to populate a form's CSS Class Name in form settings

Hello, the following is not populating the “CSS Class Name” field in a programmatically created GF form. The form does get created with all specified field values EXCEPT for the field CSS Class Name, which I thought should be designated as “cssClass” as follows:
GFAPI::add_form(array ( ‘title’ => ‘My Title’, ‘description’ => ‘’, ‘labelPlacement’ => ‘top_label’, ‘descriptionPlacement’ => ‘below’, ‘cssClass’ => ‘desktop’, ‘button’ => …));

Looks like a bug? Can anyone fix this bug or tell me if I am doing something wrong?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.