Eugenio,
I was trying to format a field to display, as per your example in custom_functions.php, in red.
I wrote as per you example:-
function dadabik_format_GoingWheelSize($value){
return '<span style="color:red">'.$value.'</span>';
}
in the custom_functions.php file and then changed the field in forms configurator to say dadabik_format_GoingWheelSize
but the result was that the value in the form dissapeared completely instead of appearing in Red.
What did I do wrong?
I am not a php coder so could easily have misunderstood your example.
Thanks
Andy
I was trying to format a field to display, as per your example in custom_functions.php, in red.
I wrote as per you example:-
function dadabik_format_GoingWheelSize($value){
return '<span style="color:red">'.$value.'</span>';
}
in the custom_functions.php file and then changed the field in forms configurator to say dadabik_format_GoingWheelSize
but the result was that the value in the form dissapeared completely instead of appearing in Red.
What did I do wrong?
I am not a php coder so could easily have misunderstood your example.
Thanks
Andy