You are not logged in.
Pages: 1
I have a page with a textarea in it. The xinha editor shows in the textarea, and I enter some text. But when I post the form, the textarea comes across blank.
The post variable name is there, but it is blank. I have a non-xinha textarea on the page that comes across fine.
Any ideas on what I can check for?
Offline
how is submited your form, using a submit button or using javascript and form.submit() ? The content of Xinha is automatically put in the textarea when you submit your form using a submit, which is not true when submiting with javascript.
I think you are doing form.submit() so is ticket #450 or eventually ticket #633 resolve your problem ?
if yes, it is bad to not search and not read through, let's say, the FAQ which would have answer to the question "How do I update the data in the editor?"
if no, can you provide a few more information about your version and if possible the url of one of your page to let us test and see what is wrong ?
Offline
I am just using a simple submit button.
I am in the process of trying FCKeditor now.
Offline
Well without more information (url, code, etc) about your problem, noone can nothing for you.
If you prefer wasting your time with a far more complicated editor, well, good luck to you then.
Offline
I have not given up on xinha, just trying to test out each editor to see which best fits into my system. I will post some code when I get ready to test xinha again.
Thanks for the help...
Offline
A common issue I've found is incorrect nesting of the form element, specifically people often nest it between <tr> tags or similar invalid locations. This will cause problems for you.
i.e <table><form><tr> is invalid and very bad, <form><table><tr> is OK.
James Sleeman
Offline
I always did that with my <form> because of the ehm, how do I say this, the extra carriage return a <form> gives.
Only yesterday I learned this trick : <form style="display:inline;">. No more empty lines in the form !
Offline
<form style="display:inline;">. No more empty lines in the form !
display:inline will do the job if you need an inline form, but i can't find any "realistic" reason to use an inline form
form {
padding:0px;
margin:0px;
}
this is imo much better than display:inline for a form element
Offline
Pages: 1