Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Create UUID on form field

Posted on 2009-05-13
1
Medium Priority
?
427 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…

609 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