Solved

Create UUID on form field

Posted on 2009-05-13
1
422 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This article discusses how to implement server side field validation and display customized error messages to the client.
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…

728 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