PDA

View Full Version : Forms and Access dbase formatting


13167
July 17th, 2004, 02:37 PM
I am currently working on a site that allows input from its users via forms. The only problem I have is that if they want to use bold text or formatting of any kind, i.e. indents etc, they have to type the corresponding html code so the entries will appear on the site as they would like. Even pressing enter to create a new paragraph doesn't have any effect, you must use the break code instead.

Having used many forms myself to add posts etc, I have noticed icons that you just click and it auto inserts this html formatting, much like this forum has.

The particular form I need this for is an ASP page, and the data is stored on Access databases, and was wondering just how I could go about creating such icons to make posting entries a lot friendly and easier on people who do not understand html codes.

Steven.Bentley
July 17th, 2004, 08:02 PM
This would be done using JavaScript, you have a button which has onclick="document.formname.textareaname.value=formname.text areaname.value+'<b></b>'" or something similar

13167
July 18th, 2004, 01:42 PM
Thanks very much! :D Greatly appreciated ;)