Hi, it seems Gravity Form strips out all html entered via single line form fields, and via other fields. Even hidden fields. How do I get it to keep html that's entered in a field?
Hi, it seems Gravity Form strips out all html entered via single line form fields, and via other fields. Even hidden fields. How do I get it to keep html that's entered in a field?
Hi, I just discovered information regarding "Gform allowable tags".
I think it doesn't answer all my questions, since I don't know exactly which tags may come up.
I'm using the Embed.ly API to allow users to enter a URL of a video or photo, convert that URL to the respective embed code and enter that embed code into a post. Right now, no embed code is being entered because Gravity Forms strips it out. Are there ways, besides specifying things like "{Your name::7}" in "create content template" in a post body, to output content to a post? I need a way that leaves HTML unchanged.
Thanks.
I found the solution. Something like:
add_filter("gform_allowable_tags_7", "allow_basic_tags");
function allow_basic_tags($allowable_tags){
return true;
}
So you are good to go?