Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-11-14 16:11:36

miles
Member
From: Plymouth
Registered: 2008-05-22
Posts: 78
Website

Form save and validation

Hi TXP Community

Hope you can help me with a solution to this problem.

I need a form which saves the users:
email
first and last name

But only submits when the correct wifi code is put in the box.

Basically a hotel wishes to save the users info before they use their wifi

Kind regards,

Miles

Offline

#2 2016-11-14 17:52:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Form save and validation

Hi Miles, I’m not sure but there might be a way to do it via zcr.

ps. I find this very intrusive on behalf of the hotel. Especially for those guests whose rooms were booked by others for whatever reason.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2016-11-14 20:12:48

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Form save and validation

miles wrote #302849:

I need a form which saves the users:
email
first and last name

But only submits when the correct wifi code is put in the box.

Basically a hotel wishes to save the users info before they use their wifi

You’ll be needing captive portal to do this properly.

Offline

#4 2016-11-15 06:57:25

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Form save and validation

gaekwad wrote #302858:

You’ll be needing captive portal to do this properly.

Reminder to self… Read before you post.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB