Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • tkc12 Friend
    #141288

    I would like to put the text, ‘Inquiry’ for the field, ‘Subject Message’ when my default contact form loads up in the browser (so the visitors may not need to key in the Subject Message field).
    May I know where is the file to amend?

    Any help and suggestions is appreciated, thank you.

    PS: I do not need other contact form plugins as I only need to amend this field, thank you.

    jsliao Friend
    #305021

    components/com_contact/views/contact/tmpl/default_form.php

    around line 50 or so depending on your template, look for this

    <label for="contact_subject">
     <?php echo JText::_( 'Message subject' );?>:
    </label>
    <br />
    <input type="text" name="subject" id="contact_subject" size="30" class="inputbox" value="Inquiry" />
    <br /><br />

    and insert Inquiry (highlighted in red) into the “Value” of your input text box.

    tkc12 Friend
    #305161

    This is precisely what I am looking for =)

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  tkc12 15 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum