In DraftAd when user types in the textarea then it should get converted into digits and should get displayed in count box. in words that is how many words user have typed and there should be limit upto only 500 characters.
And this should get displayed in next page when clicked on submit and it should get saved in database when clicked on save button
And in draft ad i want options and code for it like bold,italic,underline,font,color,align.
And if user select any of this option or all option and changes his text then it should get displayed as it is and should get saved as it is.
And it user deletes any of the character then accordingly the no.in count box also should get decreased.
and in combobox os state,city maincategory and newspapaer null values come because i have entered less field in them as compared to in sub category then how to avoid it.
and in phoneno field only 8 or 10 digits should come not less than 8 or 9 or not more than 10.
Please rpl me ...