Read-only Textarea

  • Posts: 18
  • Thank you received: 0

RiskCovered replied the topic: Read-only Textarea

Hi,
Is this workaround still necessary please? I can't find a control in breezingforms to make my text area read only, but I can also see this problem was raised and acknowledged several years ago?

Thanks,
Keith
#135500
  • Posts: 18
  • Thank you received: 0

RiskCovered replied the topic: Read-only Textarea

Hi,

Actually I also need some help with this workaround please? I have tried several variants of code framework ending up with this based on section 6.3 of the Breezingforms manual, but it does not seem to work? Please can you tell me what I am doing wrong?
Thanks,
Keith

function ff_Description_init()
{
ff_getElementByName("Description").readOnly = true;
} // ff_Description_init
#135501
  • Posts: 6982
  • Karma: 187
  • Thank you received: 628

chrisal replied the topic: Read-only Textarea

Hello RiskCovered,


yes - you still need this workaround. Have you activated the HTML mode of the textarea? Which Joomla! and BreezingForms version do you use?


regards
Chris

Regards,
Christian

===============================================
Satisfied? Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
#135558
  • Posts: 18
  • Thank you received: 0

RiskCovered replied the topic: Read-only Textarea

Hi Chris,
Thanks, it works now. FYI its BreezingForms 1.8.5 and Joomla 3.3.

Thanks,
Keith
#135847
  • Posts: 15270
  • Karma: 287
  • Thank you received: 1074

pedro81 replied the topic: Read-only Textarea

Nice!

Let us know if you have further questions.

Regards,
Pedro
=========================================Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
==============================================
#135848
  • Posts: 5
  • Thank you received: 0

johanjaimes replied the topic: Read-only Textarea

I manage to do this but when the user clic on the field and not when the form is fully loaded. This is what I did:
  1. Components -> Breezing forms -> Manage Scripts
  2. New -> Type: Element Action -> Code:
    function ff_disabled_element(element, action)
    {
    if(!element.readOnly){
    element.readOnly = true;
    }
    }
  3. Components -> Manage Forms -> Form -> Text-area field -> Advance Tab -> Actionscript -> Library; Actions: Click; Script: ff_disabled_element (Created on previous step)
  4. Finally, try it

How can I do this but without the user clic, just when the form is fully loaded?
#211433
Moderators: ForumSupporttomeperica
Time to create page: 0.074 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here