How to show login form befor start survey

More
4 years 10 months ago #88812 by abdullah01
abdullah01 created the topic: How to show login form befor start survey
Hi Guys i want to show login form in survey start, were user put his id/password to use survey and if he want to resume for later same just click on resum later button and it will save. And if he want to uppdate survey so he have to login with his login detail and again start to update survey.

I see the token feature but i need login form where user can register + login from it.

Guys need guidline :)

Thanks

Please Log in to join the conversation.

More
4 years 10 months ago #88814 by abdullah01
abdullah01 replied the topic: How to show login form befor start survey
Mate i need bit help about registration feature, i want to achieve this things but how.

1) User can register befor using survey
2) User can input his/her own password on registration
3) User can have login url where he/her login whith his/her login details to edit submited survey
4) The login url is not a invitation url its public url


Please friends guide me how to achieve this task.

Please Log in to join the conversation.

More
4 years 10 months ago #88827 by DenisChenu
DenisChenu replied the topic: How to show login form befor start survey
Hello,

You can do your own php script.
You script do :
- Identification (user/apss)
- If a token exist with this user/pass : redirect to survey
- If not : create a new token in the token table, put this token in your identification table and redirect after.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 10 months ago #88831 by abdullah01
abdullah01 replied the topic: How to show login form befor start survey
Mate i am not fimilar with php, i asume that it will just simple login form template that check the user token number and id.

I see that page in admin template area, which is attached. so i want to know how to show this page for users who want to login and submit survey.

I created token based survey.
Attachments:

Please Log in to join the conversation.

More
4 years 10 months ago #88832 by mdekker
mdekker replied the topic: How to show login form befor start survey
General settings -> Tokens -> Allow public registration? -> Yes
That should allow people to register for a token.

docs.limesurvey.org/Creating+a+new+surve...or+LimeSurvey#Tokens

---
Menno Dekker

Please Log in to join the conversation.

More
4 years 10 months ago #88835 by abdullah01
abdullah01 replied the topic: How to show login form befor start survey
yea i did that but.. if user want to edit his submitted data so how to do it whithout invitation url, I mean how user again login to see his submitted data.

Please Log in to join the conversation.

More
4 years 10 months ago #88838 by mdekker
mdekker replied the topic: How to show login form befor start survey
They get an email with the url i guess. Edit after completion should also be an option. Please check the manual for an explanation of all the settings you see in the general settings screen.

---
Menno Dekker

Please Log in to join the conversation.

More
4 years 10 months ago #88840 by abdullah01
abdullah01 replied the topic: How to show login form befor start survey
So it will not possible :( i saw the template have "load page" in admin, i already attached that screenshot but i don;t know in which criteria match then this page show :(

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #88843 by mdekker
mdekker replied the topic: How to show login form befor start survey
That screen is controlled by the setting save and resume later and has nothing to do with tokens.

---
Menno Dekker
Last Edit: 4 years 10 months ago by mdekker.

Please Log in to join the conversation.

More
4 years 10 months ago #88844 by abdullah01
abdullah01 replied the topic: How to show login form befor start survey
Yeah this is what i am asking, if user save his data then again in futur how the user can login with his registred login credentials. i read that there is email reminder feature but i want to show user to login with his registered credentials so he can login with his user id and password and see his submmited survey data.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now