- Posts: 19
COMMUNITY FORUM
k2 users form validation
- alona
-
Topic Author
- Offline
- New Member
Less
More
10 years 5 months ago #134167
by alona
k2 users form validation was created by alona
hi!
Im trying to figure out why the validation for the registration form for k2 users is not working for me.
If a user creating a new account on my site and not filling any inputs and hitting the submit button, the page is being refreshed and no alerts are shown that the fields are required. the user is NOT being created in the DB (even if he filled name and email but not other required fields) , I ugess that means that the validation is working but no alerts .
do you have any idea what can it be?
Im trying to figure out why the validation for the registration form for k2 users is not working for me.
If a user creating a new account on my site and not filling any inputs and hitting the submit button, the page is being refreshed and no alerts are shown that the fields are required. the user is NOT being created in the DB (even if he filled name and email but not other required fields) , I ugess that means that the validation is working but no alerts .
do you have any idea what can it be?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134179
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 users form validation
Make sure you have not enabled or have properly setup captcha.
Also are you using any other related user extensions? Another extension might be blocking the user creation.
Also are you using any other related user extensions? Another extension might be blocking the user creation.
Please Log in or Create an account to join the conversation.
- alona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 5 months ago #134186
by alona
Replied by alona on topic k2 users form validation
hi!
the problem is not with the user creation, only with the form registration.
I have removed all the extensions that may be in some way be related to the user and also removed MY js files , and still no luck....
I noticed that when clicking on the "forgot password" in my site , the validation there is working(the pretty popup is showing when the required email field is empty), also the "forgot name" form, so the problem is only in register form ("create new account").
also the form is not redirecting the user to his profile after submit, and if the user exists its not alerting him....
really weird, dont know what can cause the problem.....
the problem is not with the user creation, only with the form registration.
I have removed all the extensions that may be in some way be related to the user and also removed MY js files , and still no luck....
I noticed that when clicking on the "forgot password" in my site , the validation there is working(the pretty popup is showing when the required email field is empty), also the "forgot name" form, so the problem is only in register form ("create new account").
also the form is not redirecting the user to his profile after submit, and if the user exists its not alerting him....
really weird, dont know what can cause the problem.....
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134218
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 users form validation
Could you enable the default template and test it again please?
Please Log in or Create an account to join the conversation.
- alona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 5 months ago #134224
by alona
Replied by alona on topic k2 users form validation
I did. Still not working. I tried every possible thing before asking you.... :(
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134241
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 users form validation
Could I have a link please?
Please Log in or Create an account to join the conversation.
- alona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 5 months ago - 10 years 5 months ago #134260
by alona
Replied by alona on topic k2 users form validation
I will try few more things first....
Last edit: 10 years 5 months ago by alona.
Please Log in or Create an account to join the conversation.
- alona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 5 months ago #134290
by alona
Replied by alona on topic k2 users form validation
Hi again!
I tried to use the beez template of joomla and the validation is working there.
I disabled all my script files and tried again with my template... not working.... :(
I tried to use the beez template of joomla and the validation is working there.
I disabled all my script files and tried again with my template... not working.... :(
Please Log in or Create an account to join the conversation.
- alona
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 19
10 years 5 months ago #134291
by alona
Replied by alona on topic k2 users form validation
ok.... found the problem:
I deleted the: <jdoc:include type="message" /> in my template that's why I didn't see the validation errors.....
Thanks for everything!
I deleted the: <jdoc:include type="message" /> in my template that's why I didn't see the validation errors.....
Thanks for everything!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 5 months ago #134324
by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 users form validation
You 're welcome alona :)
Please Log in or Create an account to join the conversation.