Help using CB template

17 years 9 months ago #17480 by eisnerj
Help using CB template was created by eisnerj
I have created a plugin to do some extra form functionality that I wanted to add to Community Builder. What do I need to do (ie what code do I add) to make my forms match the same field and button look and feel of the community builder registration form?

Thanks,
Jared

Please Log in to join the conversation.

17 years 9 months ago #17530 by eisnerj
Replied by eisnerj on topic Re:Help using CB template
Ok so I solved my own problem yet again. I'm just too quick for you guys. The answer in case anyone is curious is extremely easy. However you are outputting form fields (ie either through echo calls or by placing them after the php code), all you need to do is the following:

[code:1]
// Input Text Box
<input type='text' class='inputbox' name='example1'>

// Input Radio Button
<input type='radio' class='inputbox' name='example2'>

// Drop Down Box
<select class='inputbox' name='example3'>

// Button
<input type='button' class='button' name='example4'>
[/code:1]

In case you didn't notice, the only addition that is necessary is the 'class' type. Couldn't get any easier right? Well, it only took me about 3 hours of google searches and code searching to figure this out so hopefully I can cut down the time for the rest of you.

Jared

Post edited by: eisnerj, at: 2006/07/23 22:14

Post edited by: eisnerj, at: 2006/07/23 23:44

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.104 seconds

Facebook Twitter LinkedIn