Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Add fields and validator on signup form

  • boesbo
  • boesbo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #163778 by boesbo
I have to create an alteration of the signup form of the survey installation:

1. create two fields: tax code, province. The province field is a select.
2. When submitting, make a check if the tax code combo => province already exists. If it exists, give an error.

Do you know a clean way to alter the core and achieve this result?
The topic has been locked.
More
6 years 1 month ago #163789 by jelo
Replied by jelo on topic Add fields and validator on signup form

boesbo wrote: I have to create an alteration of the signup form of the survey installation

What is the signup form of the survey installation?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • boesbo
  • boesbo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #163790 by boesbo
Replied by boesbo on topic Add fields and validator on signup form
When before voting a poll asks you to register
The topic has been locked.
  • boesbo
  • boesbo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #163827 by boesbo
Replied by boesbo on topic Add fields and validator on signup form
I have to modify this form:
application / views / register / registerForm.php

And change this controller for validation:
application / controllers / RegisterController.php
The topic has been locked.
More
6 years 1 month ago #163834 by jelo
Replied by jelo on topic Add fields and validator on signup form
I wonder how you manage updates of LimeSurvey? Via GIT?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • boesbo
  • boesbo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #163836 by boesbo
Replied by boesbo on topic Add fields and validator on signup form
This is not the problem. I wonder if the API framework framework to exert it.

I have to change: RegisterController.php ok? Is it possible to overwrite a controller? maybe with an Event in a plugin? Is there another recommended method that is not changing the core?
The topic has been locked.
More
6 years 4 weeks ago #164796 by korsakov14
Replied by korsakov14 on topic Add fields and validator on signup form
Have you solved your problem in any way? I have to make a similar modification ... and I do not know how to do it without losing it when updating
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 weeks ago #165030 by DenisChenu
Replied by DenisChenu on topic Add fields and validator on signup form

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose