Quote:
Originally Posted by ceho
Hi, jus two questions I couldn't find the answers to:
is it possible to preselect a value from a dropdown select so that it's shown when a user enters the form?
And second: is it somehow possible that users of a form could upload a picture via form that will be shown in a post/thread (as an attachment)? How would I do such a thing, how would I set up a form field (custom?)?
And maybe you can take a look at this old post of mine: https://vborg.vbsupport.ru/showpost....&postcount=956
I hope I made myself understood... Thankyou very much!
|
1. Yes, using form hooks. For example:
Form Hook: Form Start:
PHP Code:
if ($_REQUEST['select']==1)
{
$qo['316']=1;
$q['316']=1;
}
http://www.yourforums.com/forums/misc.php?do=form&fid=41
&select=1
This would select the first option of question with question hash 316
2. Yes, click enable attachments. (Only available for forms creating new threads)