The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have the Form Hack installed and have a question that I'm hoping someone can answer with relative ease since I'm not getting a response from the developer. My question happens to be basic PHP/HTML, but since I'm not a developer, I can't figure out the issue.
I'm trying to associate values (numeric) based on a selection of a dropdown. The numeric variable is associated to a thread ID wherease the dropdown selection is a recognizable name. Here's the default code: Code:
<select name="dropdownanswer1"> <option value="$dropdownchoice1a" <if condition="$dropdownchoice1a == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1a</option> </select> Code:
<option value="$dropdownthreadID" <if condition="$dropdownchoice1a == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1a</option> $dropdownthreadID = 100 $dropdownchoice1a = Monday These variables are called within a newthread_start plugin. Code:
//EXISTING THREAD ID FOR FORM TO REPLY IN $formreplythreadid = "$dropdownanswer1"; Any help would be appreciated! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|