View Full Version : link that fills up an textarea


MaGiCSuN
04-19-2003, 05:46 PM
hi there,

i was browsing this forum for the answer but the only thread i could find about this was from billdavies and that hasn't been answered with an solution.

I have an "add an review" page that i would like to allow people to add their review to my site. I don't want the review to be added automatically so i receive them via email. I have different kind of 'topics' to have reviews about for example: make-up, cd's, movies and hair. I first had this idea to have .txt files with the 'templates' in them because for every topic i have another template set. But then i remember the idea of an tagboard, clicking an smilie OUTSIDE the textarea and the code will be added INSIDE the textarea.

So what i was wondering, is there any way to click a topic on the page that will take you to the form and have the template appearing in the text area?

otherwise people have to open the .txt file online, copy the text, paste them in notepad, change it and copy it again to paste it into the text area.

btw the template is just the content that is between the <body> and </body> part. So basically the 'review'. I have things in that saying what people have to change and what they have to leave as it is.

also i have a small other question: is there an limit of text that can be send through bravenet? i haven't set any limit myself to the textarea, but because i use bravenet so send me the emails i wasn't sure

Thanks!

Love,
Mirna

the_dark_one02
04-19-2003, 11:46 PM
the easiest thing to do, would be to put the form in an inline frame then change the iframe location to a page wit the form preset?

ps ive been lookin in my javascript book 4 u n i cant find a thing like that (although there is a image src thing that might be able to do .txt's , im not sure)

so try tweakin and if that dont work just use an inline frame

MaGiCSuN
04-20-2003, 06:30 PM
tweaking? huh? haha i'm sorry but i didn't do this before so i don't really have a clue what you are talking about..

also what do you mean with the form preset? do you have an example for the code i should use for that? I only know how to build forms, custimize them with CSS and that's it lol sorry !

Thanks!

Love,
Mirna

the_dark_one02
04-24-2003, 01:12 PM
sos for the late reply ive been on my hols,
anyway for a textarea to have predifiend text (meaning the text thats already in the form u could put :
<form><textarea rows="10" cols="20">Your Text Goes Here </textarea></form>

this is the same for text lines as well.

but what i ment by predifined was just the form made on another page, thats all.

MaGiCSuN
04-24-2003, 03:50 PM
yeah i'm sorry too for not replying to this thread and saying that i allready fixed this 'bug' sorry sorry ! but still thanks very much, because i know what you mean and now i also understand how i can do it without having PHP :) Thank you

the_dark_one02
04-24-2003, 05:05 PM
did u figure out how to change the text area??? if u did could u plz tell me how?