Add registration field but not mandatory

Jonatas Branco Posted in General Discussion 8 years ago

I have knowledge that it has a component that includes the field, but I want the field not to be mandatory

Replies
Breton Jonatas Branco Replied 8 years ago

Now, I wanted to insert more fields, would you know how to do it?

Breton Jonatas Branco Replied 8 years ago

Thank you, it helped a lot again.
Hug
Arsalan Shah !

Indonesian Arsalan Shah Replied 8 years ago

Well it make sense to use simple if statement :

 if(ossn_isLoggedin(){ 
 show extra fields
 }

Please see : https://gist.github.com/lianglee/750e7a3611703040756f69b91123856a

Breton Jonatas Branco Replied 8 years ago

There is a component that adds fields but it becomes mandatory, I do not know how to change this.

pk Malik Umer Farooq Replied 8 years ago

Create new component add field that you want and use html required or php for validation