Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
CkEditor5 textarea required doesn't work if I want to submit a not empty field

My problem is that i want to set a textarea tag on required. But i soon as I include the CKEditor it wont work. I mean like, the Textarea is not empty put if I submit my form, a error message appiers that the textarea is empty.And if i press submit again it will work. What do I have to do, to set this field required.

I use HTML, Coldfusion and JS. Coldfusion doesnt matter at the moment.

ClassicEditor
  .create(document.querySelector('#CKTextfeldDU'), {
    toolbar: ['heading', '|', 'bold', 'italic', '|', 'link', 'bulletedList', 'numberedList', '|', 'undo', 'redo']
  })
  .catch(error => {
    console.error(error);
  });
<cftextarea id="CKTextfeldDU" style="width: 100%; max-width: 100%;" name="DBeschreibungDU" required="yes"></cftextarea>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!