cancel
Showing results for 
Search instead for 
Did you mean: 

Please i need help

Please i need help

Hi, i want to do the next, i´ll thank so much if anyone can help me.

 

I want to put in one section of my account a searcher that consists on one input text and one button.

It is for looking for an user by his phone number, but i don´t know how can I do this.

 

I want that if you click the button a table will appears down.

 

I have done this:

 

<div class="field">
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Introduce the user´s phone number') ?></label><i><small> Eg: +34612345678</small></i>

<div class="input-box">
<input type="tel" name="telephone" id="telephone" title="<?php echo $this->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
<div class="buttons-set" style="display: inline">
<button type="submit"  title="<?php echo $this->quoteEscape($this->__('Search user')) ?>" class="button"><span><span><?php echo $this->__('Search user') ?></span></span></button>
</div>

</div>

</div>

 

Maybe with onclick function? 

 

Thank you.