Last active
October 2, 2019 00:29
-
-
Save mathetos/d6873adb64c4f93b91403447ece59fbd to your computer and use it in GitHub Desktop.
Revisions
-
mathetos revised this gist
Oct 2, 2019 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,10 @@ add_action( 'caldera_forms_grid_row_class', function($rowClass, $row, $config ){ //Change your field ID here if('CF5d8ceba87e343' == $config[ 'form_id' ]){ if( $row==4 || $row==5 ) { $rowClass .= ' documents'; } } return $rowClass; }, 10, 3 ); -
mathetos created this gist
Oct 2, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ // Add .documents class to divs of the Employee Onboarding Caldera Form add_action( 'caldera_forms_grid_row_class', function($rowClass, $row, $config ){ //Change your field ID here if( ('CF12345' == $config[ 'form_id' ]) && ( 6||7||8==$row ) ){ $rowClass .= ' documents'; } return $rowClass; }, 10, 3 );