21
piar
Re: HTML Editor
  • 2008/10/30 17:24

  • piar

  • Just popping in

  • Posts: 22

  • Since: 2008/10/30


Blank - you mean normal space?

Because after I put there a space I have textareas like that:
<textarea name='hometext' id='hometext' rows='15' cols='60'> </textarea>

And now I don't get that message: 'Please enter The Scoop', but scoop text still isn't saved in DB :(



22
piar
Re: HTML Editor
  • 2008/10/30 14:50

  • piar

  • Just popping in

  • Posts: 22

  • Since: 2008/10/30


I done it as JohnDoo wrote. Now WYSIWYG editors (TinyMCE and FCKEditor) works okey in News module but there is one exception. When submitting new article using one of that editors I get message: 'Please enter The Scoop' despite I entered it.
This is the part of responsible code:
if ( myform.hometext.value == "" ) { window.alert("Please enter The Scoop"); myform.hometext.focus(); return false; }

And also when I put Scoop using DHTML, and then swich to TinyMCE, chagnes done to Scoop aren't saved to DB whereas chagnes done to Extended Text are saved...

Is there some solution for this problem?

Regards




TopTop
« 1 2 (3)



Login

Who's Online

159 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits