Log in

View Full Version : Unusual request...


Razasharp
05-06-2005, 12:57 AM
I was wondering if it's possible to split the 'title' input into more the one field?

I have a few sectons where I'd like the title to contain a few specific items but just requesting people to add them doesnt quite work :-(

I thought if I had a seperate field for each one it would trick/force them to add them :-)

so for eg I could have 3:

[item for sale]: Grandfather clock

[price]: ?400

[city]: London

then the title for that thread would read: Grandfather clock ?400 London

Is this possible? In threadbit template I tried to copy/duplicate:


<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<td>&nbsp;&nbsp;</td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr>
</table>
<!-- / subject field -->

but it only 'took' what was placed in the second field :-(

Any ideas anyone?
Thanks in advance.

KW802
05-06-2005, 01:35 AM
You may be able to tweak Erwin's form submission hack (https://vborg.vbsupport.ru/showthread.php?t=66082) to concatenate the different fields into the title.

Razasharp
05-06-2005, 11:05 AM
Thanks KW802! I'll take a look :-)