If I just had .php files I would do the following:
step1.php
's submit button goes to step2.php
. step2.php
's submit button goes to step3.php
, etc.
The problem is that I need data that the user entered in step1 in order to display step2. For step3 I need data from step2, etc.
I tried creating multiple forms with civix generate:form
, but how can I get data entered in previous steps?