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: 198
Attached File  process.txt ( 3.93k ) Number of downloads: 199
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

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

 



- Lo-Fi Version Time is now: 29th March 2024 - 05:56 AM