CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Specifying text-field size fields on custom data...
Pages: [1]

Author Topic: Specifying text-field size fields on custom data...  (Read 1944 times)

ccweaver

  • Guest
Specifying text-field size fields on custom data...
July 20, 2007, 09:18:04 pm
Hi,

So, I've been using civicrm with drupal for a few weeks now.

One of the things I noticed is that the built-in profile questions (i.e. website, and phone number) when displayed on html input forms, take on default sizes: "<input maxlength="128" size="45" name="home_URL" type="text" id="home_URL" class="form-text huge" />"

Is there a way to control the sizes that custom input text fields take on? I want the user to submit a facebook and myspace page link in the form of a url. However, I can't get the input fields to take on a larger size since it is my own custom type.

Thanks for your help.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Specifying text-field size fields on custom data...
July 21, 2007, 01:10:59 am

Your best bet is probably to use the "stand-alone" feature of profile and then modify the size appropriately as needed. You might want to ensure that the database size of those fields can hold the html values that could be potentially entered if you increase the size

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ccweaver

  • Guest
Re: Specifying text-field size fields on custom data...
July 21, 2007, 07:10:40 am
Thanks for your help. What do you mean by the "stand-alone" feature of profile?

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Specifying text-field size fields on custom data...
July 21, 2007, 08:35:59 am
CiviCRM will give you an HTML "snippet" for a profile which you can put on any web page. You can manipulate the layout, field sizes etc. in the HTML before adding it to web pages.... For more info, check the online doc:

http://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Specifying text-field size fields on custom data...

This forum was archived on 2017-11-26.