hoping to call getRandomPic function in validateForm function to populate url if none given