How To... | sort Sign-Up Fields on registration

Oliver Mankewitz Posted in General Discussion 4 weeks ago

I am looking for a way to sort the registration fields.

I have
- Birthdate -> Occupation (custom) -> Mobile Phone -> Gender -> Status (custom)

I want
- Birthdate -> Gender -> Mobile Phone -> Occupation (custom) -> Status (custom)

The sorting order in CustomFields comp is
- Birthdate -> Gender -> Occupation -> Status
(Mobile phone field doesnt show up)

How can I sort the fields like I want it?

Replies
Tatar Steven downer Replied 3 weeks ago

@Oliver,

No problem....I do try to help others where I can. I am not a coder but I have had long standing issues with OSSN and only by trial an error can sometimes resolve issue myself.

German Oliver Mankewitz Replied 3 weeks ago

Arsalan, you made my day again.

Works like a charme. Thank you very much!

@Steven downer: Thanks for trying to help.

Regards,
Oliver

German Arsalan Shah Replied 3 weeks ago

@Oliver go to components and disable the Mobile Login component.

Then re-order the fields again (first make wrong order and then right) and see it should work because i tested and it worked for me.

enter image description here

The mobile field can not be ordered as its based on custom component not on custom fields, you can simply disable that component.

German Oliver Mankewitz Replied 3 weeks ago

Hi, Steven!

As I said in my first reply, I sorted the fields in CustomFields component the way I want it but it doesnt show it in that order.

Regards,
Oliver

Tatar Steven downer Replied 3 weeks ago

Oliver,

As I indicated,

You can achieve the order you want.

have you not tried to reorder the fields in the option as I suggested?

German Oliver Mankewitz Replied 3 weeks ago

Hi, Steven!
Thanks for your reply.

I dont care about the mobile phone field.
I want a special ordering of the fields in the registration form. And this doesnt work.
Like I said:
I WANT:
- Birthdate -> Gender -> Occupation (custom) -> Status (custom)
I GOT:
- Birthdate -> Occupation (custom) -> Mobile Phone -> Gender -> Status (custom)
In custom fileds component it is sorted like I want it.
GOAL:
I want the custom fields at the end of the registration form.

Regards,
Oliver

Tatar Steven downer Replied 4 weeks ago

Oliver,

As I indicated,

You can achieve:-

  • Birthdate -> Occupation (custom) ->Gender -> Status (custom) as you wish, but with Mobile Phone being above those.
German Oliver Mankewitz Replied 4 weeks ago

Hi, Arsalan! Hi, Steven!

Thanks for your replies on this.

Its not abot removing some fields. I know that I cant remove the birthdate and gender fileds (w/o component). Its about the appearing of them.
I have CustomFields component installed and there, I have sorted them to
- Birthdate -> Gender -> Occupation (custom) -> Status (custom)

But in registration form it shows
- Birthdate -> Occupation (custom) -> Mobile Phone -> Gender -> Status (custom)

Totally different from what I want.

Regards,
Oliver

Tatar Steven downer Replied 4 weeks ago

Oliver,

If you look at the User Fields options, you will see...

*You can re-postion the fields by drag and drop above/below each other.
*You can not remove the system default fields, only re-position them.
*When choosing the dropdown/radio type field you need to add options seperated by comma.
*Show label is whether to show label above the field on singup/edit form or not.
*Non-required fields are not shows on signup form.

You are correct, the "Login in with Mobile Number" field is not listed, but you can sort the Birthdate, Gender and your custom fields in the order you want, with the mobile number field being before all of those.

Given that the mobile number field is not listed, I believe this would have to be re-coded by developers to show as a default with the Birthdate and gender fields as I believe these are part of core files.

You can achieve:-

  • Birthdate -> Gender -> Occupation (custom) -> Status (custom)
    With the mobile number being shown before all of those.
German Arsalan Shah Replied 4 weeks ago

You mean when you sort the fields it works on desktop but on mobile it didn't work ?