Just Go with It is a 2011 American romantic comedy film directed by Dennis Dugan and written by Allan Loeb and Timothy Dowling. Adam Sandler, who also produced the film, stars Jennifer Aniston, Nicole Kidman, Nick Swardson and Brooklyn Decker, and is a remake of the 1969 movie Cactus Flower.