Well that is up to you to restrict on upload. I seem to remember some Flash
upload tool which did the filter pre-upload.
..
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England,
The Flex uploader on labs is awesome:
http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
It can filter types and sizes and provides a progress bar.
On 3/10/07, Robertson-Ravo, Neil (RX) wrote:
Well that is up to you to restrict on upload. I seem to remember some Flash
Before I create something on my own, I was wondering if anyone already
has an available obscenity or bad-words filter, either as a udf or a
cfc. Something that can evaluate any textfield and replace or remove
any bad words. Thank you in
advance!!
I built one a while back, will try to
I don't believe that CFREPORT returns anything to the caller. I've
seen a couple of folks post asking this recently. It would be nice to
have some struct return, ideally one that could be manipulated by the
programmer. Maybe Adobe will hear our pleas...
Cheers,
Kris
I can create/define any
Hi folks,
in need of some help with a couple of things here that I'm wanting to do.
Not really sure where or how to start ..Firstly, I have a couple of
directories (songs,docs) that I do a simple display of with cfdirectory and
cfloop query to display names. What I am attempting to do is
To see all elements returned in a query structure:
CFDUMP VAR=#query_name#
You are on track with the form/checkbox option by storing the filename in a
db to be displayed later.
-Original Message-
From: Bob Imperial [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 11:03 AM
To:
Hi, Paul, I know I don't even know what DST boundaries are,
so, perhaps I should just manually go ahead and make sure I update
to the latest JDK, anyway. And, by JDK, I assume you're talking about
the Java install that comes (for me anyway) from Sun? Just download
and install the latest JDK from
Thanks for the quick response! This will keep me from cleaning out the shed
for a while ;) unless of course the wife decides we need to do CFDUMP
VAR=TheShed
Bob
-Original Message-
From: Coldfusion [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 11:28 AM
To: CF-Talk
Subject:
I have a two tables, Questions and Answers. I am wanting to create a cfform
that will allow me to easily allow for users to create questions, and then
assign answer options to these questions.
Using the cfgrid edit functionality, I have created the question-creation
side no problem. However,
Rick Faircloth wrote:
the Java install that comes (for me anyway) from Sun? Just download
and install the latest JDK from there?
following adobe's advice on this probably is a good idea, so no, not the latest
version (1.5/1.6) but the latest version that adobe says is ok w/cf, 1.4.2_11
or
Thanks for the info!
Rick
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 12:21 PM
To: CF-Talk
Subject: Re: Daylight Savings Time Change (Slightly OT, but relevant)
Rick Faircloth wrote:
the Java install that comes (for me anyway) from
There's also one at CFlib.org.
http://www.cflib.org/udf.cfm?ID=1105
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion
Archive:
Hi, all.
I've been tinkering with validation using js and would
like to know how to turn this into a regex for use in js:
Is Numeric (REReplace(Form.Sale_Price, [.$,],,All))
Any help available?
Thanks,
Rick
~|
Create
Hey Thanks Matt. I went to cflib but did not see/notice the NaughtyFilter.
It works perfectly now.
Michael
-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10, 2007 11:04 AM
To: CF-Talk
Subject: Re: Obscenity/Bad Words filter udf/cfc?
Odd way of doing things?
I'd switch it to something like this:
cfif NOT REFind('[^0-9.$,]', Form.Sale_Price)
/cfif
Which (I think) can be translated into this JS:
if (sale_price.match(/[^0-9.$,]/) == false)
{
}
Hi, all.
I've been tinkering with validation using js and would
like to
You could even put the below in the onchange, so the user knows what's
gonna happen ahead of time. Assuming the below works. ;-)
On 3/10/07, Peter Boughton wrote:
Odd way of doing things?
I'd switch it to something like this:
cfif NOT REFind('[^0-9.$,]', Form.Sale_Price)
/cfif
On 3/9/07, James Holmes wrote:
temporary file and use cfcontent to serve it from there. The first
method works great for images - other docs may need the second
method.
I've used cfcontent for every kind of file, and it works fine. The only
thing you need to vary at times is the
Oracle is case aware if you put the table names in quotes,
but not otherwise (I think).
And systemTables could be reserved, perhaps. Dunno offhand.
Does everything have to be quoted? You tried just the table name?
Reserved words is the only other thing I can think of...
On 3/8/07, Dawn Sekel
if you didn't fix it, it may be because you don't have a name for the
window?
window.open(url,name,etc..)? just a guess...
On 3/8/07, Steve LaBadie wrote:
I hope it's ok to post this here.
I have created an onmouseover pop-up window, which closes with
onmouseout. Works fine in IE6, but
I'm going to be using this regex in a validation plug-in
that works with jQuery.
I've got the plug-in working, I just need to add some additional
validation statements.
Is a JS statement that checks to see if an entry is in US dollars?
That would be the simplest thing to use... because, really,
Hi, Peter...
What my REReplace is doing is saying that
if, after taking out any periods, dollar signs, or commas,
the resulting entry is not numeric, then the entry is wrong.
If the entry only has digits, periods, dollars signs, or commas,
(I guess I'm hoping in the right places), then the entry
First off...shouldn't you all be out doing something other than working? ;-)
Since you're not out somewhere having way too much fun, I could use some
enlightenment here.
I have a form passing multiple values via some checkboxes, I think I've got
the insert down ok for that with the following: I'm
Rick,
Here's a similar statement that I use in my own jQuery validation
plug-in. It validates phone numbers saying basically, after stripping
out all the parenthesis and dashes, if the remaining is numeric, then
it's a good phone number...
else if (ThisDataType == phone $this.val()
Well not sure I understand the first part, but if you have a form that
passes a LIST of song titles via list element to the action page
You can check the DB prior to doing the insert to check if it exists or not.
--- Form Action --
cfquery name=qCheckDB
/cfquery
!--- If record does not
First off...shouldn't you all be out doing something other
than working? ;-) Since you're not out somewhere having way
too much fun, I could use some enlightenment here.
I have a form passing multiple values via some checkboxes, I
think I've got the insert down ok for that with the
Hi, Chris...
Thanks for the example code.
I searched for some info on the CFJS library, but didn't find
anything. Is that something you wrote? Where can I find some
info about it?
Rick
-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 10,
I have some SQL which I am trying to get working
Basically here is what I have:
select *
from tbl_meddelregos m, tbl_mdconfregoptions r
where m.confregoptionid = r.confregoptionid and
m.confregoptionid = 1 or
m.confregoptionid = 6 or
cocktailparty 0
order by lastname
I keep on getting
-- Does your code ... ?
Yup.
-- If so, that would do the same thing.
Well it achieves the same result, but I would guess that just REFind is more
efficient than IsNumeric+REReplace.
-- Also, is that, then, what your JS version is doing?
Yup, variable.match(/.../) is the equivalent to
Dave...sorry for the lack of information, after read what I posted I thought
I should have given a little more information. My form looks like this:
form action=#self#?fuseaction=admin.selectSongs name=songSelect
method=post
input type=text name=week_of size=25 maxlength=50 value= /
This is
You need brackets around the ORs, otherwise it'll only join correctly on the
first condition, and not the second two:
SELECT *
FROM tbl_meddelregos m, tbl_mdconfregoptions r
WHERE m.confregoptionid = r.confregoptionid
AND (m.confregoptionid = 1
OR m.confregoptionid = 6
OR cocktailparty
If I understand you correctly
select *
from tbl_meddelregos m, tbl_mdconfregoptions r
where
m.confregoptionid = r.confregoptionid and
(
m.confregoptionid = 1 or
m.confregoptionid = 6 or
) AND
cocktailparty 0
order by
Dave...sorry for the lack of information, after read what I
posted I thought I should have given a little more
information. My form looks like this:
form action=#self#?fuseaction=admin.selectSongs name=songSelect
method=post
input type=text name=week_of size=25 maxlength=50 value= /
Thanks, Peter...
I figured it was doing the same thing and was probably a matter of
efficiency.
Now I'll see if I can figure out how to put your JS code into the jQuery
Validation plug-in
I'm using. This is my first attempt at validation using JS... I've been
doing it with CF,
which works fine,
Hi thanks
The code below:
SELECT *
FROM tbl_meddelregos m
JOIN tbl_mdconfregoptions r ON (m.confregoptionid = r.confregoptionid) WHERE
m.confregoptionid = 1
OR m.confregoptionid = 6
OR cocktailparty 0
ORDER BY lastname
Provided the correct output.
Peter
-Original Message-
This was copied from a separate display page I setup for band members to
download their songs from, just hadn't pulled out the link refs yet. This
isn't for the public, actually it's for members of a worship band from
church...to make It a little easier for folks to get to their material for
the
I am passing this to:
cfloop list=#Form.songTitle# index=item cfquery
name=current_week datasource=#dsdata# username=myname
password=mypwd
INSERT INTO current_week (song_title)
VALUES ('#item#')
/cfquery
/cfloop
I'm not seeing where to shoe-horn the week_of value into the
I got it, or at least it did what I've been trying to get it to do ;) May
not be elegant but it worked
For some reason it didn't like #form.week_of# so I tried this and it worked
cfset thisWeek = form.week_of
cfloop list=#Form.songTitle# index=item
cfquery name=current_week
Man you are good. That's it. D'oh!
Michael
At 05:32 PM 3/9/2007, Dave Watts wrote:
Now try this one...
cfinvoke
webservice=http://unomavsfootball.gameplannetwork.com/_wsTest
.cfc?wsdl
method=Testing123
returnvariable=xxx
/cfinvoke
cfdump var=#xmlParse(xxx)#
I'm using Flash forms to write an email front and. The Address Book
portion of the app uses an updateable CFGRID element to add, edit, or
delete contacts. The table is pretty straightforward:
recordid(int, pk)
ownerid(int, fk)
fname(varchar(25))
lname(varchar(25))
email(varchar(100))
OwnerID
39 matches
Mail list logo