Project

General

Profile

API - Source Code to a custom_field

Added by Andi Wo almost 5 years ago

I want send html code to a custom_field
With the API I send this Value:
<p>My First Google Map</p>

Result(NOT OK):
<custom_field id="173" name="Imput Parameter" field_format="text" internal_name="">
<value>{"p"=>"My First Google Map"}</value>

Result when I use the Custom Field Editor(OK):
<custom_field id="173" name="Imput Parameter" field_format="text" internal_name="">
<value><p>My First Google Map</p> </value>

Can I change the field_format to code or how to send a html code with the api?