I am building a image gallrey. I can display all of the pictures in a user gallery and I have next prev exit buttons on a single image display. I need to stop the the prev and next buttons from when I reach the beginning or end of pictures to display. I can get first and last record id for a individual user but when I wrap a if statement around the form
if doesn't work. any ideas on how to stop a submit button from working when I don't want it to work tied to some condition
john larson