For The Forms:
Form
bugreport
form_title="Report Bug"
form_reusable = 1
form_window = 1
submit = "Report"
var
bug
bug_size=50
ProcessForm()
text2file("[time2text(world.realtime)]:[usr]:[bug]","World Files/BUGS.txt")
usr<<"You reported a bug!<br>Good for you."
HtmlLayout() return \
{"What is the bug?<br>[bug]<br>[submit]"}
sugest
form_title="Submit Suggestion"
form_window = 1
form_reusable = 1
var
sugest
sugest_size=50
ProcessForm()
text2file("[time2text(world.realtime)]:[usr]:[sugest]","World Files/SUGGESTIONS.txt")
usr<<"You made a suggestion!<br>Good for you."
HtmlLayout() return \
{"What would you like to suggest?<br>[sugest]<br>[submit]"}
And How The're Called:
//I define vars for them might be wrong
var/Form/bugreport/Form2 = new
var/Form/sugest/Form1 = new
//and call them later like this don't think it's wrong
usr<<browse(Form1.DisplayForm(),"window=bre;size=300x300")
usr<<browse(Form2.DisplayForm(),"window=ssu;size=300x300")
Problem description:
I'm trying to make a CGI form that displays in a popup window in Dream Seeker. The problem is that it doesn't submit properly and I don't know how to put it in a popup window. Also,Is there a way to make the text box square? **Please note that I do see the form in the browser window in Dream Seeker.
~Hellsing4
To check people's suggestions, use something like:
I'm sure someone will say I'm making it too complicated, and theyre probably right. But thats the only way I can think of.
Edit:
And after reading the suggestions, an admin can delete the suggestions by using