[Solved] How to set dynamic confirmation url in ajax enabled gravity form OR Redirect user to the newly created post by gravity form

In gravity form settings, there are two kind of confirmations, first is redirect url and second is text. You can either redirect user to another page like thank you page after form submission or you can show the confirmation text like thank you, your form is submitted successfully.

For the redirect setting, we can use there form field values also, to set string etc, but we can’t set there completely dynamic url on based of conditions. For example, I have used Post fields in my gravity form, from which post creates automatically after submitting the form. Now, if I want ti redirect my user to the newly created post which is just created by him by submitting the form, then I cannot do it via Form settings. Keep on reading

Javascript Google Map API : Change the content of infowindow using AJAX

Its an interesting subject that how one can change the content of google map’s infowindow dynamically. Many times we need to perform an action which results in change of content of infowindow also.

For example, if we have displayed a like button for a particular place which is showing in the content, and its marker is also showing in map. On clicking on that marker, infowindow will launch. Infowindow will also have the same like button. If user clicks on like button of place which is showing in content then we may need to change the style or text of infowindow’s like button also, whenever infowindow will be launched, to show that it is liked now. Keep on reading