The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Reading and writing to a Klaviyo form
tudsy
post Apr 13 2022, 08:16 AM
Post #1


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



Hi

I am having problems reading data from a form and writing to a form in Klaviyo.

I have made a start but am I on the right track?

Attached is a copy of the form and the two relevant php files.


Form.php calls the form and process.php processes the data.


Thanks.


Attached thumbnail(s)
Attached Image

Attached File(s)
Attached File  form.txt ( 5.34k ) Number of downloads: 258
Attached File  process.txt ( 3.93k ) Number of downloads: 256
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Apr 14 2022, 01:48 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



I have no idea what 'Klaviyo' is but I looked over your code. Your HTML structure is messed up and you don't have a form opening tag anywhere in the page (you do have a form closing tag). You have meta and script tags placed between the html and head tags. Those should be in the head section.

How is form called? I don't understand your logic.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tudsy
post Apr 15 2022, 11:38 AM
Post #3


Advanced Member
****

Group: Members
Posts: 246
Joined: 30-September 14
Member No.: 21,611



QUOTE(CharlesEF @ Apr 15 2022, 04:18 AM) *

I have no idea what 'Klaviyo' is but I looked over your code. Your HTML structure is messed up and you don't have a form opening tag anywhere in the page (you do have a form closing tag). You have meta and script tags placed between the html and head tags. Those should be in the head section.

How is form called? I don't understand your logic.



Thanks for that.



The form is made from dragging and dropping from www.klaviyo.com.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
AnnaAi
post Today, 09:26 AM
Post #4





Group: Members
Posts: 1
Joined: Today, 09:25 AM
Member No.: 29,193



QUOTE(CharlesEF @ Apr 14 2022, 01:48 PM) *

I have no idea what 'Klaviyo' is but I looked over your code. Your HTML structure is messed up and you don't have a form opening tag anywhere in the page (you do have a form closing tag). You have meta and script tags placed between the html and head tags. Those should be in the head section.

How is form called? I don't understand your logic.




That's fantastic! It sounds like you've stumbled upon a goldmine of inspiration. Embrace the overflow of ideas and let your creativity run wild. Sometimes, the best ideas come from unexpected places, like a card from a friend. Take a moment to jot down all your thoughts and explore each one. Remember, there's no right or wrong direction to take. Trust your instincts and follow where your passion leads you. And if you ever need a helping hand in organizing your thoughts or expanding on your ideas, you can check out helpful resources at https://essaypro.com/art-essay. Keep shining bright with your creativity!

Thanks for the information!

This post has been edited by AnnaAi: Today, 09:26 AM
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 14th June 2024 - 09:32 AM