Field when you have filled color change

Say, there are two types of fields of color-greenText1 and redText2. If the user fill out redText2, redText2 will become greenText1. So, what's the code for this?

Hello

I'm not sure if you want to, but I guess you want the field as red until it has text inside and then you want to be green, to which cases you may have a validation script something like

If (event.value! = "")

{

event.target.fillColor = color.green;

}

on the other

{

event.target.fillColor = color.red;

}

Hope this helps

Malcolm

Tags: Acrobat

Similar Questions

  • Interactive PDF form text moves upward when you have filled

    After I type something in a text field and click on / tab, it moves a bit upward, beyond the limit of the bounding box. I tried to play with text field settings, and resizing the bounding box, but without success. How can I fix it?

    This topic is a bit off-topic for the forum of InDesign, but my recommendation would be to ask everyone to use Adobe Reader to fill in the form. This seems to be a problem with preview and has nothing to do with InDesign or Adobe Acrobat/Reader.

  • The objects will not retain any color defined when the surrounding objects have their color changed

    Just Illustrator CC 19.0.0 was downloaded to me. When I place a line and then set its color, close objects can also have their color changed. This includes the items in the file of until I added the line, not on the same map-art objects. It is not universal, nor is it compatible. Objects already in the file are perhaps there for months, but a change is close will change their.

    The Illustrator files can still be an earlier version, and there were a number of illustrations that had black lines and text to white turned a few months back. As these illustrations are for a book, being unable to guarantee that the colors will stay together long enough to complete the illustration and export it tends to make unusable Illustrator for tasks of editions. I hope that InDesign and Photoshop do not have the same questions!

    nwjh,

    You must update to 19.1 (or 19.1.1 for Windows) or 19.2 (lattethe has some problems, then you can start with the former).

    If 19.1 (or 19.2) does not appear, disconnect and then reconnect the creative cloud application. After that, the 19.1 update must be visible in the creative application of Cloud.

  • I have windows 7 and that you have not knowingly changed parameters. When I try to download something or play sims # I get a message that says your internet security setting preventing one or more files being opened.

    I have windows 7 and that you have not knowingly changed parameters. When I try to download something or play sims # I get a message that says your internet security setting preventing one or more files being opened.

    Hi facions.

    What browser do you use?

    If you use Internet Explorer, you can optimize Internet Explorer and check if the problem persists. For more information, follow this link: How to optimize Internet Explorer

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What happened to the image field when you create a field of type of image for the Web application?

    What happened to the image field when you create a field of type of image for the Web application?

    The answer is that the point of the IMAGE has been changed to the MEDIA.

    Sorry, Ian, what research for this discussion, I got no results. All good and thanks for the carillon. Hope everything goes well.

    Mouma

  • My USB to ethernet adapter works only if plugged into my MacBook Pro. I tried to use to start an expander USB (power strip), but this has not--a problem when you have only TWO USB ports ports! Any suggestions?

    My USB to ethernet adapter works only if plugged into my MacBook Pro.

    I tried to use to start an expander USB (power strip), but this has not--a problem when you have only TWO USB ports ports!

    Any suggestions?

    Juice what 'expander' did you use?

    What model of MacBook Pro?

    This is the Office Mac Pro forum. I asked that your post be moved to the MacBook Pro laptop forum.

  • How reset you the app to drive zero when you have completed a workout?

    How reset you the app to drive zero when you have completed a workout?

    Hi Larry

    When you are ready to complete your workout, press firmly on the view > press end > turn the digital Crown to scroll the summary results > at the bottom of the summary, touch save or delete.

    More information:

    Use of the workout on your Apple Watch - Apple Support

  • HP Officejet 6500 E709n: HP Officejet 6500 E709n hangs with mac (Mavericks) when you try to save changes to scan destination

    HP Officejet 6500 E709n hangs with Mac (Mavericks) when you try to save changes to scan destination. That's all!

    What is the problem of HP?

    Hello

    What application you want to scan to?

    Try to install the HP Easy Scan software, it will be installed in the Applications folder:

    https://iTunes.Apple.com/us/app/HP-easy-scan/id967004861?MT=12

    You see a difference using?

  • is it possible to go to the secure area in Business catalyst when you have a creative cloud subscription, or do I need a subscription of BC?

    Is it possible to go to the secure area in Business catalyst when you have a creative cloud subscription, or do I need a subscription of BC?

    Securezones on Web sites are nothing to do with your BC OR login your cloud login creation.

    A securezone on a website is to secure content and customer CRM with user name and password on this website with access and a login to access this content if they are assigned to one area.

    If you create an account of BC and you talk to develop sites using Adobe Business Catalyst, then it will be at some point to synchronize/merge prompt your creative cloud account.

  • I'm unable to deselect specific fields when you set the Reset button in a form.  I can only "select all" or "deselect all". Someone at - it happen?

    I'm unable to deselect specific fields when you set the Reset button in a form.  I can only "select all" or "deselect all". Someone at - it happen?

    Yes, this is a common problem. Use the SPACEBAR to toggle individual mailboxes.

  • Now that we have liquid, is there a better way to make an Alphabet for Webapp elements filter when you have more than 500 Articles?

    Now that we have liquid, is there a better way to make an Alphabet for Webapp elements filter when you have more than 500 Articles?

    I am using the JQuery ListNav, but my webapp now has too many items.  Liquid filter by chain to make a filter of the alphabet?

    {module_webapps id = "16734" filter = 'all' template="/Layouts/WebApps/Applications/dashboard-list-a.tpl' = 'collection' render}

    What else can I use in the parameter 'filter '?

    Thank you!

    Shannon

    Udemy as a tutorial on it. Practical examples of liquid for Adobe Business Catalyst markup . It was called list Rolodex. This is the solution you want.

  • Command to refresh a calculated field when you select an option from the drop-down list box

    When my form user selects an option in a drop-down list box, the value in the field (in this case, Total) I would like to update, but it isn't.

    A radio button option box makes the Total-development field to automatic update when the user clicks on the radio button. But the drop-down list box is not updated Total (without clicking away from the field). I would like to add a command in the Combo Box to refresh the Total field when you selected the option to drop-down list box.

    Someone at - it a code (Javascript?) to get there.

    Thank you very much.

    You don't need a script, simply select the 'Value selected to validate immediately' checkbox on the Options tab of the dialog list box drop-down list box field properties.

  • You can change the font when you use fill & sign?

    If I try to add text to a pdf file, can I change the font to something on my computer?

    Hi ldavis1284,

    Could you please if your question is about the text under fill & sign or on the text box under the comment tool?

    Under fill & sign, you can change the font to the police given under filling & Sign.Also, you can change the font in the text box for the available fonts on the computer.

    Let us know if you have any questions.

    Thank you!

    Shivam

  • Why the color values do not change when you use proof colors?

    Hello

    I am very interested in getting accurate replicas of the image on the screen (in ProPhoto) and the image (using a suitable printer profile). However when I choose test colors on the display menu, changes in appearance, but the colors RGBV or laboratory remain the same. It is against intuitive and goes against the well known for color recommendation to correct using numbers instead of your eyes.

    What is going on? Is there a way to accomplish what I want?

    Thank you

    Juan

    Not quite what you want, but the info panel can be configured to read the evidence values.

  • Error beep sound when you open the color picker in Illustrator

    Hello

    I have a strange problem. Every time when I double click on the color picker in illustrator, I hear a boring. It's the same when you make a mistake, only then I get a dialog box with information about the error. The color picker appears and flashes at first. It works normally. I got turned down the volume, but of course that is not a solution. Anyone has any idea what it is?

    On my laptop, it works fine.

    Thanks in advance.

    Mark

    OK, I fixed it. I changed the workspace and he again changed back and it has been resolved. So, we'll probably never know what happened. Thanks fot your time.

    Select this option.

Maybe you are looking for

  • second monitor does not... Help, please!

    Hello Computer: HP Compaq Model: CQ2700ED Windows 7 Home Premium 7SP1 I hooked a second monitor (Samsung with VGA connector) DVI-d port. I use an adapter from dvi/VGA When I turn on the second monitor, he says: "check signal cable". In Control Panel

  • Spectrum of HP 13-3010ea: bluetooth receive do not

    This is a last resort, after using HP Supportr cat, to solve a problem of bluetooth without having recourse to the system recovery! I used bluetooth to transfer files from my phone to the HP spectrum (especially photos) in the past. Always worked ver

  • Uninstalling Silverlight gives "the installation source for this product is not available. Varify that the source exists and that you can access. »

    I can't remove Silverlight. I want to update to Silverlight. When I try to download, the download fails and I get a message to uninstall the old version.  When I try to do, I get a message that says "the installation source for this product is not av

  • No black print

    I have a HP printer 3310 all-in-one. The black cartridge will not print but all other colours print fine. Have used all the patches in the Toolbox without result. When aligning the cartridges it defective and gives this error message and says refer t

  • PE2950 E1211 ROM BATT [MS]

    Buongiorno. He nostro PowerEdge2950 III, service tag presenta da sul display error E1211 ROM BATT yesterday. Dopo a riavvio ed having scollegato side by 60 sec he led continued a cambiare error da ad arancione azzurro con room. He problem should be c