Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • skwtayler Friend
    #150792

    Hi there,

    Could you tell me how to disable the “username” field in the quick contact module?

    Thanks

    John Wesley Brett Moderator
    #342295

    Quick Contact? Can you provide a live URL?

    Thanks,
    John.

    skwtayler Friend
    #342302

    Hi John,
    My site is being built on a localhost. I used the quickstart package. You can see the extra field in the attached image. In the module the field parameter is “Sender name description”.


    1. screen-capture
    Saguaros Moderator
    #342808

    Dear skwtayler!

    Here is the soluton to resolve this issue:

    1) open the file: modulesmod_jaquickcontactmod_jaquickcontact.php and remove the following codes:
    at line 54:
    [PHP] Name: $name <br/>[/PHP]

    2) Open the file: templatesja_noritehtmlmod_jaquickcontactdefault.php and remove the following codes: at line 10_> 1 3

    [PHP]
    <div class=”row_ct”>
    <input id=”contact_name” type=”text” name=”name” class=”inputbox” value=”<?php if ($name!=”)echo $name; else echo $senderlabel; ?>” maxlength=”60″ size=”60″ onblur=”if(this.value==”)this.value='<?php $senderlabel?>’;” onfocus=”if(this.value=='<?php echo $senderlabel?>’)this.value=”;” />
    <div id=”error_name” class=”class_suffix”><?php if(isset($error[‘name’]))echo $error[‘name’] ?></div>
    </div>
    [/PHP]

    Good luck

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 6 months ago.

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