Just Go with It is a 2011 American romantic comedy film directed by Dennis Dugan, written by Allan Loeb and Timothy Dowling and starring Adam Sandler (who also co-produced), Jennifer Aniston, Nicole Kidman, Nick Swardson and Brooklyn Decker. The film is based on the 2005 Hindi film Maine Pyaar Kyun Kiya?, which is itself an adaptation of 1969 film Cactus Flower, which was adapted from an earlier Broadway stage play written by Abe Burrows, which in turn was based upon the French play Fleur de cactus.