Email form help!

Hi all,

Hoping someone can help me with this.

I’ve got a custom section which is a calorie calculator. I’ve set it up so there is an email field and first name field. The idea is that the user.imputs their first name and email address before they can hit the calculate button (submit) and that their information then saves to my shopify customer list and they get their results then and there on the page.

I’m NO coder… I’ve tried using chat gpt, Gemini, shopify ai and manus.im to sort this and spent numerous hours trying to get it to work to no avail.

Does anyone have any ideas?

Cheers

Harry

Hi @HazroldPPL,

What theme are you trying to do this for?

In my opinion, you can use Shopify contact form for this, refer link

It will help you add a first name and email address, then you can add a calculate input, with the calculation handled by Javascript.

Hope it is clear to you.

Hi @HazroldPPL ,

The functionality you’re looking to implement would require quite a bit of custom work, and for someone who isn’t familiar with coding, it can be challenging to follow guides and get it working properly. My suggestion would be to hire a theme developer to handle this for you. It will save you a lot of time and ensure it’s done correctly.

Let me know if you need any further advice!

Best,
Felix

Hi Everyone, thanks for the advice.

So as it stands I’ve already built calculator and got the fields in place. The submit button works in generating the results after the user inputs thie email and first name, the calculator works perfectly, the only thing I can’t get it to do is actually save the user information to my customers list.

Does that still require complex coding?

Hi @HazroldPPL,

If you want to save it at customer, you should use customer form with tag newsletter.

Hope it can help you

Hi @HazroldPPL ,

The process is possible to implement using the code expect the saving part in Shopify customer, but you can send users details on your email using contact form.

Then you can create these users by your own.

or you can use APP to push this data to your customer.

Hope this will helps you to understand how it will work.

Hello @HazroldPPL ,

Yes, it is possible with the custom code. Can you please provide the details regarding the calculation or formula, like how you will calculate the calories? It can be possible through custom code with AiTrillion’s form builder module.