Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. // Add .documents class to divs of the Employee Onboarding Caldera Form
  2.  
  3. add_action( 'caldera_forms_grid_row_class', function($rowClass, $row, $config ){
  4.  
  5. //Change your field ID here
  6. if('CF5d8ceba87e343' == $config[ 'form_id' ]){
  7. if( $row==4 || $row==5 ) {
  8. $rowClass .= ' documents';
  9. }
  10. }
  11. return $rowClass;
  12. }, 10, 3 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement