AnsweredAssumed Answered

Persisting html type field problem

Question asked by Caim Astraea on Oct 14, 2015
Latest reply on Oct 15, 2015 by Caim Astraea
Hello o/ 

Having some problem saving the contents of a field I created in a subpanel for version 7.6,

For example I can do 

var mapString = "<p><img src=\"http://maps.googleapis.com/maps/api/staticmap?center=";+latitude+","+longitude+"&amp;autoscale=2&amp;size=600x300&amp;&amp;zoom=17&amp;maptype=roadmap&amp;format=png&amp;visual_refresh=true&amp;markers="+latitude+","+longitude+"\" alt=\"get place.name\" /></p>";
model.set('loc_map_c', mapString);  
And it replaced the html inside that field with my data like this picture http://1drv.ms/1Mzs3zQ

However I can't save the data of that field , like I did with other normal fields (address , longitude , latitude , etc).  
I can't persist any type of data in a html type field sadly.

Any ideas on how to accomplish the same outcome? Can I have a view inside the second panel to which I pass the longitude and latitude in {{}} and output that map? 

Outcomes