FIXED FORMAT

Hi, I’m French, sorry for bad English.

I use the form 7 contact plugin

I want, that the user enters his customer number, member number for example, :

so the fields will do: 0 123 456 789

Test here: https://form.jotformeu.com/80544166626358

Hi @bgtbbox,

I hope you are well today and thank you for your question.

You can do this by using number field of contact form 7 and apply various range on it as described in the following page.

Best Regards,
Movin

Hello

Thank you for your answer that’s nice.

I begin and learn, I have already looked at this link.

But I do not understand, and what shortcode should I put, or code?

Thank you for your precious help!

The shortcode gets created automatically as described in the below pages.

If you have more questions then please ask it to contactform7 plugin developer as he will be the right person to answer them.

There is nothing to clarify!

That does not answer my question and my request, already!

And besides I go on forums of mutual help, to find help and concrete answers!

If you do not know, go your way!

It is already explained for you in the links that I have shared but not sure why you are not understanding it or may be you are a bit lazy to read it so I will try to explain you one more time in detail.

You have to use 4 shortcodes in your contact form 7 creation box to display 4 textboxes on the site and apply various criteria on it as displayed below.

[number* your-number min:1 max:1 class:required "5"]-
[number* your-number min:3 max:3 class:required "5"]-
[number* your-number min:3 max:3 class:required "5"]-
[number* your-number min:3 max:3 class:required "5"]

Find more details about it here Number fields | Contact Form 7

Thank you for your help, it’s nice :slight_smile:

But that comes out badly and not fields side by side view : https://contact.fnagd.org/tst-icu-final (like on: Number fields | Contact Form 7 )

In addition it displays cursor on the right. This is not good.

A solution ?

Thank you very much for your helpful help?

In addition, when a user enters a number, the cursor moves to the next fields automatically, which is pasted to the other.
Everything is in one, below the others
it must be identical to that: https://form.jotformeu.com/80544166626358

But that comes out badly and not fields side by side view : https://contact.fnagd.org/tst-icu-final (like on: https://contactform7.com/number-fields/ )

To display them like that you have to remove the break tags added between them and use the below custom CSS code on your site as described in this page http://freewptp.com/how-to-use-custom-css-in-wordpress-site/

span.wpcf7-form-control-wrap.text-829 {
    display: inline-block;
}
In addition it displays cursor on the right. This is not good.

Use below custom CSS code for that.

span.wpcf7-form-control-wrap.text-829 input[type="text"] {
    direction: rtl;
}
In addition, when a user enters a number, the cursor moves to the next fields automatically, which is pasted to the other.

To achieve this you have to develop custom code as described in the below thread or contact the plugin developer to know whether we have missed any option.