Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Is it possible to make a text field read-only with a default value?

  1. #1
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts

    Is it possible to make a text field read-only with a default value?

    Hello!

    I'm using the state field as a text box and I have only one state that is needed. I added the state in the default value section and it shows up as it should when I create a new ad. My question is...is there a small modification I can make to make that field read-only or maybe make the box greyed-out so users can't change the state?

    Like I said before my site will be local to one state and I don't want users to have the option to change the state. You know how people can be...

    Thanks!

  2. #2
    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

  3. #3
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    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!
    Last edited by dikiyforester; May 18th, 2013 at 03:16 AM.
    arthemes.org - AppThemes plugins, tutorials, modifications and services

  6. The Following User Says Thank You to dikiyforester For This Useful Post:

    arivederchi (May 18th, 2013)

  7. #6
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    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

  9. #8
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #9
    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

  11. #10
    Thread Starter
    Senior Member arivederchi's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    107
    Thanks
    12
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vantage 1.1.2ND Can you make default text in custom forms?
    By TheSyndicate in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: October 9th, 2012, 07:21 AM
  2. How do I make the state field a text field?
    By badmaash in forum ClassiPress General Discussion
    Replies: 5
    Last Post: September 8th, 2012, 06:40 PM
  3. Add Default Text to Description Field
    By kdubose in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 28th, 2012, 07:26 PM
  4. [MOD NEEDED] Add default text in a special custom field
    By dikiyforester in forum ClassiPress General Discussion
    Replies: 6
    Last Post: February 5th, 2012, 01:02 PM
  5. Replies: 1
    Last Post: January 4th, 2012, 05:36 AM