Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MarkEdmunds's avatar

Cloned registration form

Hi,

Has anyone managed to create a cloned registration page in Spark?

I'm setting up a site with three plans however rather than send people to the registration page where they can choose, I would like to create three specific registration pages - one for each plan.

And then on each page, I would like to pull across the Spark Profile and Spark Stripe components across so people can watch the video and then just buy that particular plan without being away of the other levels. ie the page sets the plan specifically for each page.

However, I can't figure out how to do it.

As I've tried pulling across components however.. if I try things like @include('spark::auth.register-common-form') into my sales-page.blade.php, I get 'Property or method "registerForm" is not defined on the instance but referenced during render'.

And for the life of me, looking at the spark code, I can't work out what magic I need to do to get the registerForm available in my blade file.

Thank you for any thoughts or pointers!

Mark

0 likes
1 reply
MarkEdmunds's avatar

Ok - it's been a long day...

Now realised that I was including entirely the wrong bit...

As it seems like I need to include

<spark-register-stripe></<spark-register-stripe>

And ensure I have

@push('scripts') @endpush

at the top of my blade file.

Looking at VueDev tools and the source code it looks like I need to ensure selectedPlan is set correctly...

So giving up for the night and will crack on tomorrow.

Please or to participate in this conversation.