I have a form with validation. I want to keep the values of the form when the validation failed using set_value in the textboxes. These textboxes are using array for the name.
<input type="text" name="speed[]" value="<?php echo set_value('speed[]') ?>" />
I believe that this is exactly what is pointed out by the documentation here. But when the form submitted, I get "Array to string conversion" error. I wonder how to implement this properly.