Fields filter

  • Posts: 59
  • Thank you received: 0
11 years 8 months ago #93361

hello everybody.
how can i do some filter in custom fields on order page? i have a "telephone" field, and can i protect this field from invalid input(letters)?
very very sorry for my bad english

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
11 years 8 months ago #93481

The default telephone field already has a check on that.
Why not simply use the default telephone field of the address ?

Adding a js check on the fly on another field is possible but it would require custom coding...

Please Log in or Create an account to join the conversation.

  • Posts: 59
  • Thank you received: 0
11 years 8 months ago #93488

How can I replace this standard telephone field from address table to order table?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #93553

Hi,

Are you using the Address step in the checkout ?
If yes, why don't use the normal phone field of the address, because you find it in the checkout as the order custom fields.

To have a secured phone in the order table, it require custom code.

Please Log in or Create an account to join the conversation.

  • Posts: 59
  • Thank you received: 0
11 years 8 months ago #93558

I'm don't use adress step. Can you say me, how I need modernize code?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #93831

You can edit the view "checkout / custom_fields" and check if the custom field is "telephone" so add the JavaScript on fly check on the field to display.

Please Log in or Create an account to join the conversation.

  • Posts: 59
  • Thank you received: 0
11 years 8 months ago #93835

oh, i think it's too difficult for me(( can you tell me step to step about this?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
11 years 8 months ago #94025

I would recommend you to find a third party developer to help you with that task via our commercial jobs forum or joomlancers.com as custom coding is outside the scope of the support we provide.

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum