Results 1 to 7 of 7

Thread: Add default text in a special custom field

  1. #1
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts

    Add default text in a special custom field

    Hi. Please help to add a default text in a special custom field.
    When filling out forms, this field will already be filled in the default value.
    I guess I need to modify the function cp_formbuilder in the file step-functions.php.

    For example:
    custom field: cp_city (text)
    default value: 'London'

    Thanks in advance

  2. #2
    Junior Member madiw's Avatar
    Join Date
    Dec 2011
    Location
    Riga , Latvia
    Posts
    30
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Junior Member madiw's Avatar
    Join Date
    Dec 2011
    Location
    Riga , Latvia
    Posts
    30
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  7. #7
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Add Default Text to Description Field
    By kdubose in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 28th, 2012, 08:26 PM
  2. Replies: 1
    Last Post: January 4th, 2012, 06:36 AM
  3. Custom Text Field requires at least 2 characters!
    By mcasdorph in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: September 10th, 2011, 01:01 PM
  4. [MOD NEEDED] Custom Field Text Show Up With First Letter Capitalized
    By hanniabu in forum ClassiPress General Discussion
    Replies: 9
    Last Post: August 5th, 2011, 02:35 PM
  5. Video not turning up in a custom text field
    By wagsy in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: December 27th, 2010, 08:31 AM