Hi. I’m in need of some assistance.
I need to have a sign-up flow over multiple pages and, just to simplify the following example, let us work with the following:
My User collection has the following fields:
-> Name
-> Email ID
-> Password
-> Gender
The Gender is a separate collection, consisting of “Male” and “Female”, which is linked to this through a relationship so that the only options I receive on the User record under ‘Gender’ are these two. If there is an alternative to this that would solve or play a part in solving my issue, I could change this system.
I have a sign-up page in the start which collects the Name, Email ID and Password information. I do not, however, want to collect the Gender information here. I would, instead, like to take that information on the next page which I’m guessing can be done by taking inputs of only these three fields in the first page and, in the next page, add another form to collect just the gender information and update it into the logged in user’s record.
However, I also require my collection of the Gender information to be in, not a dropdown format, but, a format which comprises of two buttons, one labelled Male and the other labelled Female, where, if the first button is clicked, the logged in user’s record’s Gender property is automatically updated as “Male” and if the second button is clicked, “Female”.
I tried creating this. However, the Gender property does not seem to be updating despite several different approaches to this problem. In fact, I tried using a separate dropdown component, which offered only “Male” & “Female” (derived from the Gender collection), to update the user record, as a test. This, too, did not seem to work. The only solution I currently see is to put a form component to get this information, which is not what I’m hoping to achieve.
Is there a solution which could get me the result I’m looking for or would I have no other option for now but to stick with the form format?
Thanks in advance.