ArticleDirectory
When using a custom form, we often need a field as the number. Below is a JS function that generates random number encoding. Let's just talk about it.Code.
// Generate a random number, which must be called in userdefinedjsave ()
Function getcount (strprefix, txtid) // format: zhh20080526001
{
...
Copyright 2008
Continue to read the full text of "golden and OA: UDF for generating random number in user-defined forms...
Classification: Code life | tags: logs of programmers who use gold and OA skills | add comments (5)
Related Articles:
- Gold and OA: Get the node function in the current process (17:23:54)
- Gold and OA: work days in a period of time for UDF calculation (18:22:50)
- Gold and OA: Statistical data of custom form functions (21:23:29)
- Gold and OA: Customize the form to automatically obtain the current system user name function)
- Gold and OA: Custom forms automatically obtain process approval comments (22:38:58)