Mobile app version of vmapp.org
Login or Join
Angie530

: How can I assign id to subject input box in simple machines forum? I have installed the simple machines forum. For my requirement I need to change the subject input box. Presently the subject

@Angie530

Posted in: #Forum

I have installed the simple machines forum. For my requirement I need to change the subject input box.

Presently the subject input box has the following code

<input type="text" class="input_text" maxlength="80" size="80" tabindex="1" name="subject">


I want this to be changed like

<input type="text" id="subject" class="input_text" maxlength="80" size="80" tabindex="1" name="subject">


How can I do this? I browsed through many files in simple machines forum and couldn't find out. Anyone one simple machines forum please help me

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

Using totalcommander in windows I searched for name="subject"

<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="80" maxlength="80" class="input_text" />


line number 202 in file Post-template.php

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme