Configure dates based on the number of visits

I Just have one form for six (6) visits in which there is the following field: visit_date. I would like to configure the visit_date field based on the number of visits as follows:

visit 1 visit_date < visit 2 visit_date

visit 2 visit_date < visit 3 visit_date

visit 3 visit_date < visit 4 visit_date

visit 4 visit_date < visit 5 visit_date

visit 5 visit_date < visit 6 visit_date

I have a hidden value (counter) in the form that counts the number of visits. How can I achieve this?

Generally this would be configured by storing one property for the date of each visit (date_visit_1, date_visit_2,...) and using hidden values to calculate the relevant dates for the current form and then referencing them elsewhere. IE: previous_visit_date = if(current_vist = 1, date_visit_1, if(current_visit = 2, date_visit_2....))

-Clayton