prepare("SELECT * FROM lpa_applications WHERE id = ?"); $stmt->execute([$lpa_id]); $lpa_data = $stmt->fetch(); } // Redirect to step 1 if no ID but step > 1 if ($step > 1 && !$lpa_id) { header("Location: apply.php?step=1"); exit; } $attorneys = []; if ($lpa_id && ($step === 2 || $step === 3)) { $stmt = db()->prepare("SELECT * FROM lpa_attorneys WHERE lpa_id = ?"); $stmt->execute([$lpa_id]); $attorneys = $stmt->fetchAll(); } $num_attorneys = count($attorneys); ?> Start Application — <?php echo htmlspecialchars($project_name); ?>
Step of 4

Let's get started.

Please select the type of LPA and provide the donor's details and address. You can save your progress and return later.

>
>

Basic Information

Donor Address

Cancel

Attorneys

Add the people who will make decisions for you. You can add multiple attorneys. They must be over 18 and have mental capacity.

Currently Added Attorneys

Add an Attorney

How should your attorneys make decisions?

Specify how you want your attorneys to work together when making decisions on your behalf.

1) ? 'disabled' : ''; ?> required>
>
>
>
Back to Step 2

Review & Submit

Review all the information you have provided before submitting your application. (Step 4 implementation in progress)