ID:170170
 
I'd like to be able to have it so that if any of the form fields (or some designated as required) are blank, then clicking the 'submit' button will give an appropriate error message and leave the form up.

Thanks for the support,

=$= Big J Money =$=
....actually, while I'm at it, I should also ask if anyone knows how you could implement drop-down boxes with htmllib. Unless I am mistaken, all htmllib is for is putting form fields on an html document that can send their values to Byond. Although, it's a bit too advanced for me to edit myself, I can't imagine that adding support for drop-down boxes with choices defined in a list (of the same name as the drop-down box, for convenience) would be too hard for someone who is solid with htmllib.

=$=
In response to BigJMoney
BigJMoney wrote:
....actually, while I'm at it, I should also ask if anyone knows how you could implement drop-down boxes with htmllib. Unless I am mistaken, all htmllib is for is putting form fields on an html document that can send their values to Byond. Although, it's a bit too advanced for me to edit myself, I can't imagine that adding support for drop-down boxes with choices defined in a list (of the same name as the drop-down box, for convenience) would be too hard for someone who is solid with htmllib.

=$=

Form
Test
var
form_dropdown
form_dropdown_values=list("Test1","Test2","Test3")

Just add that variable to the HtmlLayout procedure and it should work. I hope that is what you were talking about. Good luck.