FORM reading with condition before access to submit button

Issues related to forms.
Post Reply
thielou
 
 
Posts: 9
Joined: Fri Apr 21, 2017 4:35 am

FORM reading with condition before access to submit button

Post by thielou » Mon Mar 26, 2018 1:41 pm

Hi,
i tried to find an example on how to put a text onto a page, then the user must read it until the end ( by shifting vertically the text or using scrollbar) then get the ENTER/SUBMIT button only if this condition was done

then I want this button will pass a password to the next page to access to private secure directory.

help ?

User avatar
BaconFries
 
 
Posts: 4242
Joined: Thu Aug 16, 2007 7:32 pm

Re: FORM reading with condition before access to submit button

Post by BaconFries » Mon Mar 26, 2018 2:04 pm

I think you are meaning you would like a T&C (Terms&Conditions) see the following Form Conditions and Calculations and for the text object so the text can scroll you can set the overflow property to 'scroll'.

thielou
 
 
Posts: 9
Joined: Fri Apr 21, 2017 4:35 am

Re: FORM reading with condition before access to submit button

Post by thielou » Mon Mar 26, 2018 3:07 pm

hi, and thank you.
I have a top title into a LayoutGrid1
below is a text object into a LayoutGrid2
below a Layer1 with the form and the submit button.
then a blank LayoutGrid3 to adjust end of page below my footer (which is in the master_frame).

I want the user read the text, so drag it until the end of layout.
At the end see the submit button, no checkbox condition only the scrolling.

When click on the submit , the user will be redirected to an external folder/page with .htaccess.
So it will be good to pass the username+password within the submit form.

any idea ? any example somewhere ?

User avatar
Pablo
 
Posts: 17595
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: FORM reading with condition before access to submit button

Post by Pablo » Mon Mar 26, 2018 3:34 pm

The built-in login tools cannot protect folder on the server. They can only protect HTML/PHP files.
To protect a folder you can use .htaccess, however I cannot help you with server configuration.

thielou
 
 
Posts: 9
Joined: Fri Apr 21, 2017 4:35 am

Re: FORM reading with condition before access to submit button

Post by thielou » Mon Mar 26, 2018 3:58 pm

of course. i already wrote the htaccess and have the user name and password ready to use.

the question is too have the possibility to:
1. shift the text to see the button appearing,inside the form.
2. then click on the submit button and go to external url like https://www.mydomain/protected_directory/ , and with the 'user' and 'password' into the same submission.

User avatar
Pablo
 
Posts: 17595
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: FORM reading with condition before access to submit button

Post by Pablo » Mon Mar 26, 2018 5:07 pm

This requires a script, there is no standard option for that in HTML.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests