The code below shows a simple multi page webform consisting of 3 steps. For each step going forward i need the code for that step to be evaluated. Only when I am in step 3 and switch back to step 2 (via browser back button (can a previous button be added to a Wolfram webform?)) I want the code NOT to be evaluated again. Especially the GeoGraphics[] function takes time to display a map and that delays the display of the form layout. Is is possible to cache a step by adding mathematica code?
firstform = FormObject[{"x" -> "Number"}];
secondform = FormObject[{"y" -> "Number", GeoGraphics[Here,GeoRangePadding->100 km]}]&;
thirdform = FormObject[{"z" -> "Number"}] &;
CloudDeploy[FormFunction[
{
firstform,
secondform,
thirdform
},
(Row[{#x, #y, #z}]) &
], "/test", Permissions -> "Public"
]