zilav Posted February 10, 2012 Share Posted February 10, 2012 A simple demo of using jquery plugins to format UniEdit control. Masked Input for fixed length input Include jquery.min.js and jquery.maskedinput-1.3.min.js in ServerModule.CustomFiles maskInput for variable length input and regexp pattern matching Include jquery.min.js and jquery.numberMask.js in ServerModule.CustomFiles When UniEdit is on UniForm use Form.OnActivate event When UniEdit is on UniFrame use UniTimer with RunOnce=true Have fun! UniEditFormatDemo.zip 3 Link to comment Share on other sites More sharing options...
rsanford Posted February 17, 2012 Share Posted February 17, 2012 Thank you!! Much appreciated. Link to comment Share on other sites More sharing options...
albertovesx Posted March 20, 2012 Share Posted March 20, 2012 Thank you. Its very useful and exactly what I need Link to comment Share on other sites More sharing options...
indra_s Posted June 21, 2012 Share Posted June 21, 2012 Thank you bro.. Link to comment Share on other sites More sharing options...
estor485 Posted June 22, 2012 Share Posted June 22, 2012 Thanks Link to comment Share on other sites More sharing options...
ysv Posted July 6, 2012 Share Posted July 6, 2012 Thanks... but demo doesn't work, probably I do something wrong? I can put anything in this fields. Link to comment Share on other sites More sharing options...
zilav Posted July 20, 2012 Author Share Posted July 20, 2012 Notification - this should be compatible with ExtJS4 Link to comment Share on other sites More sharing options...
IRWANTO82 Posted August 25, 2012 Share Posted August 25, 2012 why this not implement in next unigui release, this is good for input Link to comment Share on other sites More sharing options...
fabricio1970 Posted October 14, 2012 Share Posted October 14, 2012 to use the example in version 0.90 is not working with would work? fabricio Link to comment Share on other sites More sharing options...
amrihuang Posted November 26, 2012 Share Posted November 26, 2012 It is not work in above unigui 0.9! Hope can update... Many thanks! Link to comment Share on other sites More sharing options...
amrihuang Posted November 30, 2012 Share Posted November 30, 2012 Hope zilav or unigui team can check "mask input for date" for using Masked Input Through by HTML + JQuery + Plugin is work, but in unigui framework not. Link to comment Share on other sites More sharing options...
NelsonFS Posted November 30, 2012 Share Posted November 30, 2012 I really need this too !!! Please .. Zilav .. fix to 0.9 version!! Will be better if compatible with UniDBEdit Link to comment Share on other sites More sharing options...
maher Posted December 1, 2012 Share Posted December 1, 2012 Great work... This what I search for.... Many thanx to you... Link to comment Share on other sites More sharing options...
NelsonFS Posted December 3, 2012 Share Posted December 3, 2012 Simple way to use Formatted Input Mask in 0.9x and 0.8x Open the attached project, read instructions in example.Long live to UniGui.. I love it!!! 2013-04-01 => Link's on!!! PrjMaskEdit.rar 1 Link to comment Share on other sites More sharing options...
albertovesx Posted December 3, 2012 Share Posted December 3, 2012 Simple way to use Formatted Input Mask in 0.9x and 0.8x Open the attached project, read instructions in example. Long live to UniGui.. I love it!!! Thank you. Link to comment Share on other sites More sharing options...
amrihuang Posted December 4, 2012 Share Posted December 4, 2012 Thank you. Link to comment Share on other sites More sharing options...
billyChou Posted December 4, 2012 Share Posted December 4, 2012 Thank you. Link to comment Share on other sites More sharing options...
gusrac Posted December 4, 2012 Share Posted December 4, 2012 wonderful for today, thank you Link to comment Share on other sites More sharing options...
belo Posted February 5, 2013 Share Posted February 5, 2013 Simple way to use Formatted Input Mask in 0.9x and 0.8x Open the attached project, read instructions in example. Long live to UniGui.. I love it!!! PrjMaskEdit.rar Nelz By using a mask with a date field in the database of type date, how to handle the error: "__ / __ / ____" is not a valid date in OnExit if the field is empty? Link to comment Share on other sites More sharing options...
ttomas Posted March 29, 2013 Share Posted March 29, 2013 PrjMaskEdit.rar link is broken. Link to comment Share on other sites More sharing options...
fikret Posted March 29, 2013 Share Posted March 29, 2013 PrjMaskEdit.rar link is broken. +1 Link to comment Share on other sites More sharing options...
NelsonFS Posted April 1, 2013 Share Posted April 1, 2013 link's on! Link to comment Share on other sites More sharing options...
liugang73 Posted April 4, 2013 Share Posted April 4, 2013 correct original project(ok for 9x version of unigui) correct procedure TMaskedInput.Format(UniEditControl: TUniEdit);var i: integer; js: string;begin js := ''; for i := 0 to definitions.Count-1 do js := js + SysUtils.Format('$.mask.definitions[''%s'']=''[%s]'';', [definitions.Names, definitions.ValueFromIndex]); js := js + SysUtils.Format('$("#%s_id-inputEl").mask("%s");', [uniEditControl.JSName, mask]); // js := js + SysUtils.Format('jQuery(function(){jQuery("#%s_id-inputEl").mask("%s");});', [uniEditControl.JSName, mask]); UniSession.AddJS(js); // UniSession.AddJS(Format('jQuery(function(){jQuery("#%s_id-inputEl").mask("%s");});', [Ed.JSName, MaskStr]));end; Link to comment Share on other sites More sharing options...
topajin Posted April 30, 2014 Share Posted April 30, 2014 thank you very much to share! Link to comment Share on other sites More sharing options...
Mauricio Posted December 24, 2014 Share Posted December 24, 2014 Simple way to use Formatted Input Mask in 0.9x and 0.8x Open the attached project, read instructions in example. Long live to UniGui.. I love it!!! 2013-04-01 => Link's on!!! Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now