Jump to content
  • 0

Zmiana typu pola i ustawienie limitu znaków


quendi

Question

1 answer to this question

Recommended Posts

  • 0

Uwielbiam ten moment, kiedy zdążyłem zadać pytanie na forum i nagle mnie olśniło :) Daje rozwiązanie jakby ktoś kiedyś szukał.

if ($field === 'vat_number')
			{
			$formField->setMaxLength('10');
			$formField->setType('number');
			}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...