If you want to add a class instead of an ID, it looks like you can use this in the above example:
$grid->appendClass('classForRowSix',6);
Hey Wynot,
I found a way to set a custom ID for a row, as long as you know what row number it is.
Add the following to your custom functions.php:
add_filter('caldera_forms_render_grid_structure', 'setup_row_IDs', 10, 2);
function setup_row_IDs($grid, $form){
if ($form['name'] == 'YourFormName'){
$grid->setRowId('theThirdRow',3);
}
return $grid;
}
This applies the ID ‘theThirdRow’ to the 3rd row so you can style with CSS, eg. #theThirdRow{ border:1px }