Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


numbers only for text input
Date: 2005/12/04 21:39 By: LaSchmoove Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 10
graphgraph
Does anyone have an idea how I can add an input field that does not allow any input but numbers to a profile?

I know how to do it in html, but how can I add such a field to be selectable in the backend?

Thanks for your help,
B.

Post edited by: LaSchmoove, at: 2005/12/04 19:29
Click here to see the profile of this user The topic has been locked.

Re:numbers only for text input
Date: 2005/12/07 23:28 By: LaSchmoove Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 10
graphgraph
I'm very sorry for my bad english. Seems like nobody understands what I mean, so I'd like to try to explain my problem in a different way:

In order to define a value (like "how many sites made" in the joomlapolis profile) for the user profile I can only select a text input, but what I would like to achieve is to restrict the input to numbers only and to reject other letters. On static html sites I used to help me with a javascript function, but I have no idea where in the Community Builder I could insert such a component to make it accessible to the site admins.

I am really hoping for your help.

Thank you,

B.
Click here to see the profile of this user The topic has been locked.

Re:numbers only for text input
Date: 2005/12/08 03:05 By: mikko Status: User  
Karma: 107  
Platinum Joomlapolitan

Posts: 2230
graphgraph
There is currently no way to extend fields through the plugin api, but the dev team told that this is coming. If you are not in a hurry, I recommend waiting for the next version of the plugin api.

-mikko
My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.

Re:numbers only for text input
Date: 2005/12/08 06:53 By: LaSchmoove Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 10
graphgraph
Thank you very much for your answer. Do you have an idea how long it will take until the next version is released?

Kindest regards,
B.
Click here to see the profile of this user The topic has been locked.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login