Yes the list is viewable so this is obviously not the way to go with secure fields. This is an intranet app and this particular field does not need to be hidden.
Heres's the documentation on toScript...
Thanks imstillatwork for the feedback. Just before you responded I figured out what I needed to do using JS! I just had to use regular expression matching to pull the value out of the "list". Even though the "list" has over 5000 "elements" in it, this executes instantly.
First I created my...
Before a user submits a form, I would like to validate one of their entries against a ValueList variable that was created when the page was opened.
I want to prevent a user from entering a duplicate asset number and right now the form is submitted and the verification is done on the server...
I am using a flash form in a ColdFusion application and am creating a variable using actionscript in order to display HTML in the form. I want to display form items as text instead of form items if the user doesn't have update rights. I found some code in a sample address book application but...
I have a tabbed flash form that is 700px wide. It automatically aligns to the left of the page. Is there a way to take the entire form and center align it?
Thanks!
Thank to all of you for all the replies! We implemented exec and it works great. We'll look into some of the other tips you guys provided like trap exit 2 15.
Thanks a bunch!
We have a ksh script that allows a user to telnet into a server and run a cycle job. When they log on, the script runs automatically, giving the user a choice of running the job or exiting. When they select exit, the script exits leaving them in the shell so they can start perusing the server...
Thanks for the suggestions!
GUJUm0deL, your method doesn't work for me because I have a whole bunch of form fields and if the user is sent to the processing file without having certain hidden fields defined they are kicked back to the form.
TruthInSatire, your solution worked perfectly and was...
I am adding cftry/cfcatch code to my application and I was wondering how to tell a form processing page to reload itself.
I have a query that gets max(id)+1 from a table and uses that value on an insert statement. Today I had 2 users submit their forms at the exact same moment (first time...
Actually they can't (at least I can't) unless they kill the process. But that defeats the whole process anyway because they lose all the changes they made on the form - it's a project management tool, and they wouldn't want to have to re-do everything.
But that's exactly what I want it to do. I don't want the user to be able to click Cancel - they HAVE to give a response, and since there's no way of removing that cancel button (that I'm aware of) I have to go this way. Here is what I ended up doing, and I used all the alerts so I could see...
Thanks for fast reply, cLFlaVA! It works great, except for one thing: the user can get around it now by clicking Cancel. Here's the code, I'm sure there's a better way of doing this:
function cancel_reason() {
var re = /\S+/;
var reason = prompt("Please provide a reason for canceling the...
I have a prompt that requires an answer from the user. However some users have figured out that typing a space or two will get them past the prompt. How do I check for non-space characters? I don't simply want to say if(x == ' ') because they might have more than 1 space.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.