Welcome Guest, Not a member yet? Register   Sign In
Form validation set_value() and html tags
#11

I tried the third parameter, but neither TRUE nor FALSE had the desired effect.
Reply
#12

Did you test is outside of the form_textarea() or only inside of it? If you test set_value() separately, does it still not work?
Reply
#13

(03-30-2015, 10:40 AM)silentium Wrote: Did you test is outside of the form_textarea() or only inside of it? If you test set_value() separately, does it still not work?

Today, I tested it outside the form_textarea(). This gives the right result!
PHP Code:
<p>
    
Description:<br />
    <?
php echo '<textarea name="description" rows="16" class="tinymce">' set_value('omschrijving',$omschrijving) . '</textarea>';?>
</p> 
In that case, there are no unwanted html tags showing up in my textarea. Conclusion: the form_textarea() function in combination with set_value() is not escaping the html tags correctly.
Thanks for the tip!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB