?
Solved

Create UUID on form field

Posted on 2009-05-13
1
Medium Priority
?
425 Views
Last Modified: 2012-05-06
I am trying to assign a UUID to a form field using javascript.  Currently I have the field creating a uuid dynamically using coldfusion Createuuid function.  My issue is that I am using spry and ajax to submit to my db the records, when I elect to create a new record I am clearing out the fields and begining a new record, however my uuid field gets cleared out with out generating a new uuid for the new record.  I would like a method in which when new record is selected and the fields are cleared that the uuid field would create and display a new uuid for the record currently being created.  Any suggestions?
0
Comment
Question by:jriver12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 27

Accepted Solution

by:
azadisaryev earned 2000 total points
ID: 24381549
why do you need to create a uuid and show it in a form field when you are creating a new record? just create a uuid in your INSERT query. i really do not see any reason to create a uuid BEFORE a new record is being inserted...

Azadi
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question