1
davidthomas1
Extended Profiles - how to add custom checkbox field?

I'm testing XOOPS 2.1.1 on a clean installation.

I'd like to add custom fields to the registration form.

When I try to add checkboxes or radio buttons to the form, they appear in the registration form as a blank area. The title is there, but no checkbox or radio button.

Does anyone know how to add custom checkbox and radio buttons to the registration form / profile in XOOPS 2.1.1?

2
phppp
Re: Extended Profiles - how to add custom checkbox field?
  • 2005/6/2 15:16

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


There is an option with field edit form: "add option"

3
davidthomas1
Re: Extended Profiles - how to add custom checkbox field?

Yes, I know the edit form you mean, but I don't get the 'add option' area when using radio buttons.

It does appear if I use 'Select' as the field type. I can add options. But not to radio buttons.

Check boxes are another problem and don't appear at all on the registration form - only the title text.

Do you know what 'value type' (e.g Array, Integer, Other..) I should specify for 'field type' radio and checkbox?

I have tried various combinations...

All I want to do is add a group of radio buttons and a selection of checkboxes.

It's looking promising though...

4
phppp
Re: Extended Profiles - how to add custom checkbox field?
  • 2005/6/2 15:48

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

davidthomas1 wrote:
Yes, I know the edit form you mean, but I don't get the 'add option' area when using radio buttons.

Check boxes are another problem and don't appear at all on the registration form - only the title text.

Do you know what 'value type' (e.g Array, Integer, Other..) I should specify for 'field type' radio and checkbox?



I did not notice the problem with radio and checkbox before.
I guess we have to leave it to Mith.
And if you any other requests, tell him ASAP.
Features will soon be frozen in couple of days.

5
Mithrandir
Re: Extended Profiles - how to add custom checkbox field?

I've only performed real tests with selects. Should of course also consider radio and checkboxes when it comes to adding and removing options.

Thanks for the interest and do play around with the select and select_multi types instead.

If you can select multiple values in an element (group_multi, select_multi, checkboxes) you should select "Array" as valuetype. If you can only select one value, you should set it to the valuetype that is appropriate (integer for numbers and dates, textbox for headings or titles etc. , textarea for larger text fields.

If in much doubt, try looking at the existing fields and their types and valuetypes and see if you can see the pattern

Thanks for testing

6
davidthomas1
Re: Extended Profiles - how to add custom checkbox field?

Thanks for your reply.

re: field and value types: I did have a look at existing fields but it doesn't list the field and value type, only title, desc, show in reg form etc... for pre-existing registration fields so I can't see the pattern there.

I'm using the CVS nightly from June 1st.

I do need to use checkboxes to allow users to sign-up for various Special Interest, Language and Nationality Groups.
(I assume they are value-type: array)

At the moment, due to system requirements, I'm developing a separate registration system outside of XOOPS. We're expecting several thousand registrations within two months time when the next wave of JET English teachers come to Japan in July. The reg system will simply allow users to create and update a profile as well as some notification functions for group administrators. It does need to check for subscription lapses and allow filtered record viewing for specific group admins though...

Ideally, I'd like to integrate the registration form and profile system within XOOPS but perhaps a seperate custom system may be more suited to my needs.

In any case, Extended Profiles is looking promising. I can only imagine what's involved - keep up the good work.

Login

Who's Online

251 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits