Cleansing HTML from Form Submissions

By: Justin Reed | Asked: 04/26/2023
ForumsCategory: General questionsCleansing HTML from Form Submissions
Justin Reed asked 12 months ago
Is there a way to cleanse HTML that is submitted through text fields?
1 Answers
Victor Font answered 12 months ago
Yes. Use the WordPress sanitize_text_field function in Formidable's frm_pre_create_entry hook See: and

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community