So on my forum i have installed a javascript where by adding an image link to the description it makes it an image and views it to the topics preview list. Now some members don't know that and doesn't matter how many times i tell them how to do that they seem not to understand at all.

So basically what i want is a simple form that will be activated once you press the New Topic button in the News Forum.

That form will include a Title field (that will be filled i guess automatically afterwards) and the title prefixes next to that so they can select the correct prefix, an Image field where members will add the link of the image for the topic and then the image will be placed in the description field of the topic and added to the topic also and the News Text where members will add the text of the news they found.

I will give you an example so you guys understand better what i want.

Here we are:

These are the main 4 fields i want to be shown. So you add a title for your topic, it adds it there. You select a Prefix it adds it (based on my codes i already have there), then you add an image just once, and it adds the image as a link to the description field and then as an image

Code:

[img]URL[/img]

to the editor and a last field that would be a text zone for the news text.

Once they edit that the Send button will glow and then they can post the topic.

@Ange Tuteur This works like a charm. These past days i posted like 40 topics so easy it just makes my life easier. My only concern is that i'll have to change the textzone part to an editor that will contain only bold italic and underline just to make some parts of the news better..

This is a new form i made for some special categories within the VIP section and i want some different elements there. Once i press the topic to be created it just wont do anything. Why does it do that? And the editor doesn't show up at all (the sceditor)

Looks like the problem in the style comes from a modification to the CSS you made, and the error which made the editor disappear was an addition to the smiley variable. You should use this tool to see differences :https://www.diffchecker.com/x9fefal1 ( expires in 1 month )It can be very helpful for things like this, so you can revert the changes you made in case of problems.

Anyway, I reverted some things to the original code on the left in the difference above. ( CSS + smiley variable ) Give it a try now :

if (!forum.value) err += 'The category is not valid'; if (!title.value) err += '\nYou did not enter a Movie Title'; if (!poster.value) err += '\nYou did not enter a Poster Image'; if (!rate.value) err += '\nYou did not enter a Rate value'; if (!val) err += '\nYou did not enter a Movie Summary'; if (!ytbid.value) err += '\nYou did not enter a Youtube ID'; if (!srclink.value) err += '\nYou did not enter a Source Link'; if (!srcname.value) err += '\nYou did not enter a Source Name';

if (!forum.value) err += 'The category is not valid'; if (!title.value) err += '\nYou did not enter a Movie Title'; if (!poster.value) err += '\nYou did not enter a Poster Image'; if (!rate.value) err += '\nYou did not enter a Rate value'; if (!val) err += '\nYou did not enter a Movie Summary'; if (!ytbid.value) err += '\nYou did not enter a Youtube ID'; if (!srclink.value) err += '\nYou did not enter a Source Link'; if (!srcname.value) err += '\nYou did not enter a Source Name';

Ehm, have you figured this with your eye? Or did you use any program to find that because if you saw that then i give up..

Thank you.. Now the problem is that it won't post to category 3. By the way is there a way to change this particular script to make it automatically to forum id 3. Because this form we will be using it only for forum id 3 and we don't need the selection on the top.