Hi,
Im wondering if it is possible to add a button and attach a javascript function to customize the form markup to fit my needs.
In this case I have a map datatype. I want to open up a popup window when I click the button "edit". In my popup window I have a html page that has some google maps logic implemented to get map coordinates. When I select my coordinates and click a save button in the popup window I want the coordinates to be copied to the textbox "Coordinates" in my form markup.
UI example on form markup:
Original form markup: http://s7.postimg.org/b2akfejq3/form_without_button.png
With my added button:http://s12.postimg.org/sx0kfmoot/form_with_button.png
I have read the documentation on DynamicTypeForms on composite.net I can't find a solution to achive what Im trying to do.
Im wondering if it is possible to add a button and attach a javascript function to customize the form markup to fit my needs.
In this case I have a map datatype. I want to open up a popup window when I click the button "edit". In my popup window I have a html page that has some google maps logic implemented to get map coordinates. When I select my coordinates and click a save button in the popup window I want the coordinates to be copied to the textbox "Coordinates" in my form markup.
UI example on form markup:
Original form markup: http://s7.postimg.org/b2akfejq3/form_without_button.png
With my added button:http://s12.postimg.org/sx0kfmoot/form_with_button.png
I have read the documentation on DynamicTypeForms on composite.net I can't find a solution to achive what Im trying to do.