Jump to content

Hiding Fields On Registration Page


arpowers

Recommended Posts

Is this what you are refuring to? Please see below.

 

 

Remove Fields From Order Form

If you do not want to show one of the default fields on your order form, you can change the field type to hidden and supply a default value of NA. The following example shows to hide the Address 2 field from the viewcart.tpl page:

 

Find:

 

<input type="text" name="address2" style="width:80%;" value="{$clientsdetails.address2}" />

Replace with:

 

<input type="hidden" name="address2" style="width:80%;" value="NA" />

Edited by rdavis
extra words
Link to comment
Share on other sites

  • 2 months later...

Can anybody hook me with a code (maybe it should be client-side javascript) to show/hide registration form fields based on a previous selection ?

For example: if a client choose to register as a private user or business user - show different additional fields based on this selection.

Link to comment
Share on other sites

  • 6 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated