/ Published in: PHP

This was a fix for the form that allowed me to automatically replace the text when I focused on area.
Find the file text.php inside modules. Replace line 89 with this code.
Find the file text.php inside modules. Replace line 89 with this code.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$html = '<input type="text" name="' . $name . '" value="' . esc_attr( $value ) . '"' . $atts . 'onfocus="if(this.value==\''; $html = $html . esc_attr( $value ) . '\') this.value=\'\';" onblur="if(this.value==\'\') this.value=\'' . esc_attr( $value ) . '\';" </textarea>';
URL: http://www.ultimatelimoservice.com/reservations
Comments
