Avatar

Level 10

Hi,

I don't see a problem with the first point in your request.

For the second and third on you only need to add one script to the indexChange event of "Service_Location_Page".

Provider_Data_Intake_Form.Service_Location_Page::indexChange - (FormCalc, client)

if ($.index > 0) then

          Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Secondary"

else

          Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Primary"

endif

Service_Locations.Service_Location.Service_Location_Header.Service_Location = $.index + 1