Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the active element on the form.
#12
I'm sorry, I didn't understand where to set the DataType = stTel type ... There is no such property in TIWEdit...

procedure TIWF_Menu.IWEdit1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
ATag.AddStringParam('inputmode', 'decimal');
ATag.AddStringParam('pattern', '[0-9]*');
ATag.AddStringParam('autocorrect', 'off');
end;
It works!

But what if this option is used for input:
Mess := 'Enter the PIN code to log in (numbers only)';
WebApplication.ShowPrompt(mMess, 'ClbPinWork', 'Authorization',", 'Ok', 'Forgot PIN');
Reply


Messages In This Thread
RE: How to change the active element on the form. - by Сергей Александрович - 07-28-2021, 06:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)