Help with Possible Mask Bug in CF8

When letting a user edit their PRICE field at my website, I
populate the field with the VALUE attribute (as seen below) using a
MASK:
<CFINPUT TYPE="TEXT" NAME="price" VALUE="#price#" SIZE="7"
MAXLENGTH="7" MASK="9999999">Enter your price
<B>without</B> decimals, cents, or dollar signs.
Examples: 45, 1, 17900.
However, when pulling the number from the database, CF8 will
add trailing zeros to the number!!!!
For example: if #price# equals 25, the value populated in the
field is 2500000!!!
Is this a bug? When I reamove the mask, it works fine. It's
not doing this on my CF 4.5 (installed on my own server). I am
using a paid providers' CF8.
If it is a bug, how would I fix this and how do you report a
bug? This is the 2nd one I found using CF8 (the other was
Validate="integer" actually allows "$" as an integer ...also "$$$"
and "$454$3$$3$", etc.)
-Tony

tony17112acst wrote:
> Is this a bug? It's not doing this on my CF 4.5
(installed on my own server).
hmm... the 'mask' attribute was introduced in CFMX7...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • Need help with simple mask problem

    hi there this is mark from superbooty a band that has played in the bay area for over 10 years...
    i was wondering if someone could help me with a Motion2 problem i'm having regarding masks.
    i'm working on this simple animated scene of a car going by a beach - the photo is from the passenger side and shows the outside mirror.
    i'm moving the background (different from the original that came with the car) and i want to move an image of tokyo inside the mirror housing too.
    i figured out how to do the mask but when i try to animate the image of tokyo the mask layer moves with it. when i lock the mask i can't move the image - ???
    there's got to be a way to lock the mask but be able to move what it is masking..
    here are the links to three images that show what the problem is - the first is
    the shot of the scene unmasked, shot 2 is the scene with the mask enabled, and the third is the shot when i try to animate the tokyo background:
    http://superbooty.com/mirrorbeach1.jpg
    http://superbooty.com/mirrorbeach2.jpg
    http://superbooty.com/mirrorbeach3.jpg
    any help would be most appreciated - thanks!

    Adam's solution is the one I'd use - put the mirror contents in a layer, mask the layer, then manipulate the mirror content image. Did this solve it for you - if so, please click on the or buttons over posts as appropriate...
    Patrick

  • Help with a mask problem, please.

    I spent many hours creating intricate masks for a uni assignment (due on Monday). Both of these masks only half work.
    An example is a mask of a tree with many branches, designed so that huge colourful flies fly ‘behind’ these branches. The trouble is that the mask works in some areas and not in others…?
    I don’t understand how this could happen, as each mask is on its own layer and each partially works.
    The ‘fly’ is sometimes visible when it should be, but not at other times (when it should be).
    I’ve tried everything I can think of trying – changing the colours of the mask (no good), I even converted a copy of it to a bitmap in desperation (no good).
    While I was constructing the masks Flash crashed on numerous occasions. Could this have had a negative affect?
    Can anyone help…please?
    Linda

    You need to ask in the Flash Professional forum. You CANNOT edit any Flash content with the Player.

  • Amateur needs help with photo mask

    I am trying to create a photo mask with a picture I have of a
    school of fish. I want to make it loop with itself (if possible, so
    it appears to be one endless school of fish beneath the mask are
    passing by. I was taught this once, but I never wrote it down. My
    pen is ready now though.

    I am trying to create a photo mask with a picture I have of a
    school of fish. I want to make it loop with itself (if possible, so
    it appears to be one endless school of fish beneath the mask are
    passing by. I was taught this once, but I never wrote it down. My
    pen is ready now though.

  • Help with Clipping Mask and text!

    This has really been frustrating me.
    Designing this logo at the mo - the circle is a shape and the L is just type on a separate layer on top with the same colour as background. What I want is to make the L cut into the circle so that it's essentially transparent, where I can place it on any coloured background and the L will blend it naturally without constantly changing typeface colour of 'L'.
    Any ideas guys? Using CS5. I'd appreciate any help.

    Hi,
    One way is to put your text and circle into a layer group, then set the Blending Options:Custom to Zero fill and Knockout to Shallow.
    The layer that is directly below the layer group will show through the text.

  • Help with a mask over a keyed out background

    Hi
    I'm working on a stop motion animation that was filmed against a green screen and I've used the blue/green screen key to key out a background and replace it with the pattern that the director wanted.
    My problem is with the first shot where the camera tracks in to the action. There is a lot of stuff in the shot that I need to get rid of (not filmed against the green screen). I've added a mask to it, however, the 'rubbish' is replaced with the original pattern - how it was before it changed colour slightly when I made the keying adjustments (colour level, tolerance, edge thin...), therefore it is a different shade.
    How do I match the colour?
    Thanks

    You need to ask in the Flash Professional forum. You CANNOT edit any Flash content with the Player.

  • Please help with Layer Mask

    I have been painting in Photoshop using layer masks. Using the pen tool I would outline my image, control>R-click>select create layer mask, then I would paint as desired. When doing so it would create a grey layer mask background in the layers window and everything would work100%. But now all of a sudden when I do this process the layer mask square turns white and it seems as the mask I have created is inverted. I paint everything but the mask I want. I have no clue how to turn it back to the original grey colour I was using. Please help.

    Using the pen tool I would outline my image, control>R-click>select create layer mask,
    So are you using a Vector Mask or a Layer Mask?
    Could you post a screenshot?
    What are the Paths’ Area settings?

  • Help with Image & Blog Bugs

    Hello all -
    Been putting together a site for the past few weeks, and we thought we had it all down pat until we went live. The links on the blog page come up with 404 errors, and (even worse) it seems that my Windows friends get image problems on the home page (the page loads fine for Mac folks). Anyone have any solutions? The blog works fine when we publish to the desktop. Thanks for the help!
    Site:
    www.vantiki.com
    Powermac Dual 2 G5 loaded   Mac OS X (10.4.5)  

    You know, it's really sad that your wonderful site has problems being viewed by Windows. They are TRULY missing something. Have you tried Firefox on Windows to see if it looks any better (I don't have access to my Windows machine right now)?
    Just checked out one of your blog pages. iWeb is sending you to
    http://www.vantiki.com/VanTiki/studionotes/795F2D5F-4102-428D-A4F3-6241687AD593. html
    when your page is actually here
    http://www.vantiki.com/VanTiki/studionotes/795F2D5F-4102-428D-%234DADCD.html
    The first one is what it SHOULD be, I don't know why it's converting it to the second one... could be a server related issue regarding character sets that I don't quite understand yet but I'm learning!

  • Help with possibly dead ipod .... any hope?

    While listening to my Ipod, it suddenly sounded like it was dying - the music slowed down - like when a cassette tape gets twisted or runs out of battery life. The screen froze. I know it was fully charged - the previous day I charged it until it indicated that I could disconnect - and the green battery icon was near full before it seized up. I tried reset to no avail. The screen went blank Plugged into to PC to try and charge, but screen stays blank and the pc doesn't recognize it.
    Is there any hope for my ipod?
    (I'm in India - there are no service centers listed on the Apple web page)
    Any help from fellow Ipod users would be greatly appreciated.
    Steve
    Ipod 5th Gen Video 30G Windows XP
    Ipod 5th Gen Video 30G Windows XP
    Ipod 5th Gen Video 30G   Windows XP  

    Hi John,
    Thanks for the link. There may be some hope - as it seems that I might just have to keep trying. I did try plugging it into the pc to charge, but no response. I read somewhere that I have to wait 30 minutes or so for it to get enough charge to be recognized - assuming that it's the battery.
    Do you have any insight as to why the song that was playing just slowly died - slowed down and sounded warped - could this be what happens with a disk drive when the battery goes? Maybe then all I need to do is charge it...
    Thanks again,
    Steve
    Ipod 5th Gen Video 30G Windows XP

  • Need help with gradient mask over XML images

    I have a file that works great in pulling images via XML
    data. I want to create a gradient mask using flash CS3, but i can't
    seem to get any sort of mask (solid or gradient) to react with the
    XML driven images.
    Download my FLA
    and other working files
    845 kb

    granted i can see resizing the mask and now it responds...
    however, take a look at this
    Sample of alpha gradient mask:
    http://www.devx.com/webdev/Article/29296#codeitemarea
    i'm trying to this type of mask (static mask obviousl)

  • Help with possibly noobish question

    Hello,
    I need to make some complex graph structures such that this format will not do
    1: 2 ->4
    2: 4 ->2
    I have several additions to each node to take care of that is the main problem.
    each node has aarity which I could hold as a separate array to be accessed for each object instance of a node
    Part 1:
    The problem is that i have to know which node is connected to which arity element and then I have to search for the free elements and label their indexes with characters. I think I can solve this
    Part 2:
    The second problem is maybe a little worse as I have to translate certain groups graphs to something like this and then connect them to any graph as needed. Will i need to make a separate object for this purpose??
    | ..................| n input wires connected |
    |???????????????????????????????????|
    | Wires maped to edges from graph |
    |___________________________________|
    | ..................| n output wires wires connected |
    Part 3:
    To compound this I have to find a way to implement a menu selector to choose random graphs or parts of graphs for a Genetic Algorithm. Selection is not the problem here its is mapping the structures into a chromosone which is causing me the problem.
    Part 4:
    Each connection has the graphs triggers different application specific rules that cause the graph to reduce or change connections.
    Any help on strategies for these problems would greatly be appreciated
    kind regards
    Prashant

    Hello all and thanks for the replies positive or not. Sorry if I offended you bbritta. I guess its not such and easy question after all.
    Well its not due tomorrow and I am doing some research into a wierd topic so you guys are along the right lines. The topic I am researching is non-determinstic interaction nets. I don't know too many people doing this. Interaction Nets invented by a guy named Yves Lafont and you can google this and the topic I am researching.
    All the code written thus far exists in C and is very hard to interpret as it uses a Lex and Yacc parser to implement the creation of tokens and syntax rules of the Interaction Nets programming language.
    Basically its a high level visual graph programming language however it can also be used on low level based on interpretation. Thus the need for graph data structures. Essentially I have to modify this programming language for non-determinism and demonstrate this in a Genetic Algorithm. The latter would be no problem if I could get the data structure sorted. People familiar with Lamda calculus, Linear Logic and Process Calculus might have seen this in some research papers.
    However I have not had a very good theoretical background so finding the data structures to map the complexity of the graphs is a little problematic. I will outline my idea and what I have done a little clearer below.
    So far I have broken the prob into smaller steps as suggested by someone, I hope the pseudo code helps a little more.
    class Symbol
    convertASCIItoINt( char value) : return int
    getChar() : return char
    checkAvailability() : return boolean;
    //each Symbol is assigned to a free port and is traditionally input.
    //several instances of this obj are used to
    class Port  implements Symbol
      initialisePort( num);
      checkFreePorts( ) : return boolean;
      setPortSymbol (port [num])
      private ports [ num ];
      setEndPortAsSpecial( ports [ num ]) // each node has a special port called principal port
    // each node has a set of port and each port can have a label as a string
    class Node
    setNodeSymbol()
    getnodeSymbol()
    public Port node_obj [ port_num ];
    setSpecialSymbol( string)
      //destructor to delete node connected to
      //duplicator to create a copy of cell value
      //constructor create a copy of the cell
    getSpecialSymbol() : return string symbol;
    checkSpecialSymbol(node_obj [ port_num ]): return string symbol;
    //so far as a typical graph goes i think its acceptable to connect the nodes in an vector with
    //a list at each element although this is not shown below.
    class Net
      connecNodes( node_obj [ port_num], node_obj [ port_num] )
      checkDeadlock(): return boolean; //check for cycles
      public Node net_obj [ node_num ];
      checkConnected( node_obj [ port_num], node_obj [ port_num] ): return boolean;
    //this is where the execution engine will be placed
    class InteractionRules
    ruleTrigger( )
      Node n = new n
      n.checkSpecialSymbol()
      // its here where things get complicated with the data structure as according to the rules I have to delete
      // add or copy a value of a particular node in a Net
      determineReduction()
        //if (ports [ num ] = num )
        // a reduction occurs according to the rule in the method above ruleTrigger();
       //at this point the relevant nodes will be removed and new nodes will be added according to the rules
    storeCopyofOriginalNet()
       //needed to rollback if rules are infeasable or deadlock occurs.
    }I desperately still need help to complete the data structure I have also considered manipulating the complex associations between the sets as multimaps and maps
    Sorry if I am not clear I am trying my best to explain something I have had little background and almost no help in as I am creating the special rules as I go along such as keeping an copy of a net / graph before modifying it in the Genetic Algorithm.
    Kind Regards and Best Wishes
    Prashant

  • Help with clipping masks, please?

    I am running cs4, I have a picture of a hand holding a piece of paper, I want to put text behind the thumb and the forefinger.  I'm thinking clipping mask, but I can't seem to get it to work right.  Please help?

    Youv'e got your clipping mask reversed. You want to draw paths around the areas you want to keep where the text is concerned. What you currently have would allow you to mask content in the fingers themselves, not outside of them. And you want the clipping mask to be placed on the text, not on the hand image.
    Basically you want a path which matches the outline of the card (going around those fingers) then place the text inside that clipping mask.
    Red path is the clipping mask....

  • Need help with Weired IE8 bug

    This issue/bug has me totaly baffled, check out this page in IE8.
    http://dev.dans-hobbies.com/2010/07/01/test-video/
    when the video is playing, the "currentTimeDisplay" shifts to right, when the video is paused it shifts back to it normal position. Anyone have any idea what would be causing this.
    All this player really is,is a modification of the standard spark VideoPlayer skin.
    the relevant code.
                        <!-- container for the scrubber and time information. -->
                        <s:Group left="26" right="64" top="3" bottom="0">
                                <s:layout>
                                    <s:HorizontalLayout verticalAlign="middle" gap="0" />
                                </s:layout>
                                <!-- spacer -->
                                <s:Rect width="2" height="1" />
                                <s:Label id="currentTimeDisplay" color.fullScreenStates="0xFFFFFF" alpha="0.5" fontSize="11"/>
                                <!-- spacer -->
                                <s:Rect width="4" height="1" />
                                <s:ScrubBar id="scrubBar" width="100%" liveDragging="true"
                                    skinClass="skin.normal.ScrubBarSkin"
                                    skinClass.fullScreenStates="skin.fullScreen.ScrubBarSkin" />
                                <!-- spacer -->
                                <s:Rect width="6" height="1" />
                                <s:Label id="durationDisplay" color.fullScreenStates="0xFFFFFF" alpha="0.5" fontSize="11"/>
                                <!-- spacer -->
                                <s:Rect width="6" height="1" />
                        </s:Group>

    One last thing I should note, is that the "currentTimeDisplay" doesn't jump around on any browser in full screen mode. Thus It seems like the issue is only with IE in non full screen mode, and that makes no sence to me.

  • Help with color selection bug?

    Whenever I go to the color selection menu and select a color, it shows the color and I can select various colors. Then I go back to the canvas, and it turns gray, and only shows gray in the little "current color box." I'm wondering if I may have accidentally changed something, or if it's just not cooperating. It seems to only be on select canvases though, because I opened a different project and the colors worked fine. Someone, please help!

    Check the color mode of your document under Image>Mode. You want RGB Color.
    Also make sure you don't have a layer mask active.

  • Help with possible STISIM GUI

    I am working in a psych lab and we use a STISIM drive sim to do some research. The problem is that this sim uses a weird proprietary code that scenarios must be written in. Its simple enough, but a huge time suck.
    I was hoping there would be some way to develop a GUI with simple fields that could be filled out for each event, and then once all events were in place, the code exported in a simple text format.
    I know very little about objective-c and xcode, but I was hoping someone could point me toward the kind of code I should be looking at to accomplish this kind of task. What functions can be used to take a bunch of single field inputs, convert them to another form, and then lump them all together in one big file?

    Take a look at using AppleScript and Automator.

Maybe you are looking for

  • Calling arraylist from another class - help please!!

    Hey, I need some help calling my arraylist from my GUI class, as the arraylist is in the 'AlbumList' class and not in the 'GUI' class i get the error 'cannot find symbol', which is pretty obvious but i cannot figure how to get around this problem. he

  • Error while creating so "Text 0000001025 ID 0012 language EN not found

    Dear Sirs, I am creating sales order but when i enter the material i am getting an error message "Text 0000001025 ID 0012 language EN not found Message no. TD600 Diagnosis You want to read a text which does not exist in the data base (or update memor

  • Bootcamp 4, Windows 7, Time machine disk

    Hi, I'm currently having an weird issue with Windows 7 x64 on my Macbook Pro. I'm getting a bluescreen of death each time my USB Time Machine disk is connected. Any other HFS+ disk doesn't make Windows crash, it's only the Time Machine disk. I've try

  • IMessage has stopped

    iMessage has stopped working and Ive checked all the settings are right, my main number has a tick by it but is not highlighted? Appreciate any help out there thanks :)

  • I can't get Thunderbird to recognize the password to the gmail account I am trying to add.

    I am trying to add a gmail account to Thunderbird that is already hosting several gmail accounts. No matter what I do, I can't get Thunderbird to recognize the password. I admit, I got is wrong a few times, but I did get the right one, and it was typ