Mandatory TextBox with red boarder / invisible text box

My problem:

I have a textbox which becomes invisible when a check box is selected in form 1 and invisible if not checked.

I have a textbox which becomes compulsory with a red boarder when a check box is selected in form 2; If not checked, the border has disappeared and the field is optional.

Now, I want to achieve together.

These forms being 2 different versions, no other scripts works. Everything I tried, it didn't work... (Copied fields into another shape... so the script is 100% the same.)

Any suggestions how I could change my scripts, settings or tiptoe around the problem so I can use both of them in a form?

My two scripts:

If (this.rawValue == 'J') {}
Textfield.validate.nullTest = 'error ';
TextField.Border.Edge.Color.Value = "255,0,0";
Textfield.assist.toolTip.value = "this field is required, please provide a response..." » ;
XFA. Layout.relayout ();
}
else {}
Textfield.validate.nullTest = "disabled";
TextField.Border.Edge.Color.Value = "255,255,255";
Textfield.assist.toolTip.value = "this field is optional..." » ;
XFA. Layout.relayout ();
}

If (this.rawValue is 'J')
{
TextField.Presence = "visible";
}
on the other
{
TextField.Presence = "invisible";
}

Sorry, made a mistake. You must set your fields hidden instead the invisible state. In this case subform will become smaller size.

Sent mail.

Tags: Adobe LiveCycle

Similar Questions

  • Serious problem of closure with invisible text boxes cursed (CC)

    Total Hi,

    I have a serious problem with InDesign closing. I'm working on a nearly finished book who has texts and images. For this book, I also use InCopy. All the text boxes are assigned.

    When I worked on the book, I noticed three text boxes are missing. Because I didn't know when it happened and DIND'T want to get all the corrections I did by then, I decided to copy the text boxes missing from a backup I had. It worked, even the links with InCopy worked.

    InCopy has shown me that there are two links assigned to these boxes, so I just deleted one of the links to each of the three missions. Seemed so far until I updated the table of contents. I had two entries for these text boxes. I checked and on a spread seems to be dublicated areas of text that can only be seen when I "select all." They also appear on the layers panel. There I can select separately.

    The problem is that InDesign will stop when I try to move the spread or try to remove these text boxes. When I copy the spread, it gives me a perfect, even copy text. These areas of copied text can be edited and deleted. Remove the links concerned had no influence on the problem.

    Now, I deleted all content visible and any spread. My document now contains only the first single release and the second 'cursed', spread two-sided. There is no missions more. When I create a table of contents on the page first, alone, it shows me the three entries that should not be there. When I copy the spread he still 'perfect', as if there is nothing wrong with the spread. I have three areas of text with the text, I don't see in the spread of "cursed".

    Please help me! How can I get rid of these cursed text boxes? I use InDesign CC on a Windows 7 (64 bit) system.

    Thank you!

    Tami

    If the file is corrupted try to export it as IDML, to open and work with it.

    If that doesn't work, try opening IDML in an XML Editor (there are several similar BBedit which are able to read zip files) and try to find the damaged item and to fix it. Do it on a copy, because failure could destroy everything.

  • With scroll multi line text box

    Hello

    I need to set up a text box multi online where new channels are added and the box scrolls.  I found a previous post with a good example. However, in the example, there is a while loop using shift registers to concatenate the strings and so to add the new channel.  In my situation, I have a case statement and the new string is added to the base on an independent State.

    How to concatenate the new string with what is already in the text box?  The text box is an indicator, there is no way out for me a loop in a concantator. Is attached a picture to help describe what I'm trying to do.

    I apologize if this is a stupid question, I am very new to LabView.

    I'm using LabView 8.2

    Thank you.

    You can use a node of feedback in the middle where is your cut wire.

    You can use a shift register as well on your while loop (not shown) outside.  Simply thread through the case of false and perform the concatenation in the case of true.

  • Several problems with embedded DHTML menu text boxes, drop-down

    We have recently improved HR 10 HR 2015.  We know a menu dhtml drop-down text question existed prior to the upgrade and the upgrade did not fix it.  We now have a more serious problem.  We are not certain that all started with the upgrade, but we detected it after you convert our projects to HR 2015 and republish them.  I list both here in case they are connected.

    The problem known: styles of multilevel list to the level of the main topic and within the text box drop-down dhtml to first level.  However, if we add a drop-down list box text in a drop-down text box and apply a list style at several levels to the text in the drop-down text embedded dhtml, the topic seems in good shape on the Design tab, but loses the line numbers or bullets in the preview and in the published version.  No idea what would cause the list not to display properly or how to get the multilevel list styles to work in this situation?  (Yes, we know we can use styles list rather than multilevel list styles, but it is problematic, too)

    list1.png

    The novelty is that, when content is published and read in IE or Chrome (the two major browsers use customers), the drop-down text link embedded dhtml is always present, but the text in the drop-down list embedded dhtml has disappeared (for example, nothing happens when you click on the link to open the text box).  It works in preview, but not when accessed through a browser (or access to the content of webhelp after publication to a server directly from my local computer).  Any ideas on how to get it to display?  The net result for our users, is that a substantial PART of the content of the assistance amount is now more accessible.list2.png

    Thanks in advance for any help you can provide to these questions!

    Here are a few things that I would consider trying.

    First, click on Tools > update DHTML and let it do its thing.

    A test to see if something has changed. If so, great!

    If the problem persists, open one of the samples project. Click here to see a video on how to do

    Then open Windows Explorer. Click here to see a video on how to do

    Find and copy a file called ehlpdhtm.js and return to your project and paste this file into so that it replaces the one that is there.

    Then see if things are better.

    See you soon... Rick

  • Text typed with 'Add or edit text Box' (typewriter) display disappears/do

    It is a PDF file static, flat I simply want to add a few lines of text (type the information on the image of the flat 'form').  I use the tool typewriter text box and displays the typed text.  When I click on the text box, it disappears as if the text color is white.  The text is red.  When I click where it should appear, the outline of the text box appears and double-clicking it allows me to get into the mode where I can see what has been typed edition.  But when I click out of it, it is still hidden.

    Your help is appreciated!

    I adapt slowly to the X - pro version, but some of these oddities are driving me crazy.

    George Johnson, whoever you are... I could just kiss your neck!  I'm not kidding, I spent many hours for several days to research this issue.  It seems that your post: http://forums.adobe.com/message/1169644#1169644#1169644, did the trick.  Let me assure you, I do not set anything in the regedit.  X - pro has been installed just a month ago and however it has been implemented, that's what I was watching.  I have set dopacity to 1 and my text is now displayed.  Thank you, thank you, thank you.

  • I have problems with the resizing of text box. I can only display width or height not both

    I'm new to Flash, I was able to create the text box and adjust the width and height, but now can only set the width. The box height is unusable. Did turn something off? I use the horizontal mode.

    Steve

    If you have the textfield value "Static Text", then the text space extends vertically so that it contains the text that you type in. You can adjust the width and height will change to accommodate the text content.

    If you change the "Input" or "Dynamic" textfield, then you will be able to resize the textfield that you want.

  • Please help with the creation of text box

    Hi all

    I'm new in FLEX 4, embarrassed so please excuse my questions.

    What I want to do is to create a button that inserts a text box on my canvas, whenever it locks.

    How would I do that?

    Thank you very much

    Tried your code. Got a popup saying:

    Error: addChild() is not available in this category. Instead, use addElement(), or change the skin, if you have a.

    MyCanvas.addChild (myRichEditableText) has changed; at myCanvas.addElement (myRichEditableText); and it worked.

    But you must use a HGroup, a VGroup or a TileGroup instead of a BorderContainer... You wouldn't have the x value and y the text manually box.

  • Problem with the pdf export: text box becomes visible

    When I export to pdf format, sometimes a text box lines become visible. In Indesign, I put them in transparent, so you don't see them here. But after an export to PDF, they are visible in the form of thin white lines. I tried to export to EPS and also here it gives white lines: the borders of a text box. Seems not all the text boxes. But sometimes one or two.

    So let me assure you... it will DESTROY the quality.

    Bob

  • With the help of text boxes and radio buttons

    Hello!

    I tried to make a small Manager application where the user writes his name is on a TextBox and selects her sex between the two options in radio buttons (female or male). These information apears inside a text on another screen. I tried desperately to organize the code to make this work, but I haven´t successful.  Anyone of you Director community could help me with this give me an idea of how do to solve this problem?

    Thank you very much!!!

    Philippa

    I have downloaded a file that shows what you are trying to do - feel free to use all or part of it. Sorry, but I was not taking the time to comment the code for you - if you have any questions, ask at your

  • How to: transparent text with border and transparent text box?

    I would like to place a callout directly on an image that has a transparent semi information, but retains the fully opaque text. If I create a < div > class with a transparent background, it seems that everything in this div retains the same opacity settings, even if I reset it with the < div > elements.

    Is there a way to get around this?

    Thank you

    Mark

    I was trying to avoid additional images.

    A picture is sometimes a better choice.  Use a very small semi-transparent png image and repeat.  Background image can be as small as 2 pixels x 2 if very small.

    The problem with an opacity of CSS, it's that you need different rules for each browser engine: Moz, webkit, IE...

    Examples with the code:

    http://ALT-Web.com/sample.html

    And opacity extends to everything inside, this text is gray.  For this reason, I prefer to use an image instead of opacity CSS.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics |  Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB

  • a text box is every moment that I edited dynamically scroll bar upward. I know that's not a problem with the Web site because she works with other browsers

    There is a problem with scrolling of a text box bar. whenever it is changed dynamically developing area moves upward instead to keep the focus in the area of the new inserted text. even if I move it down to hand it back again.

    OK, I have fixed the code in my program. When I finished the editing, I use this code in javascript.
    document.getElementById("chatMainTxt").scrollTop = document.getElementById ("chatMainTxt") .scrollHeight;

  • Change horizontal text frame (text box) with script?

    Hello

    I looking for something that might be simple but am not being able to solve... When I'm inside a document I created (or the one I opened), I want to be able to change the block of text horizontally.

    What I'm trying to do, it's exactly what I can with file > Document format > text - box width. If I reduce that number to, say 60 mm, the result is exactly what I want. But I wasn't able to find a way to do it through javascript...

    I tried the sample scripts for an answer or this forum or on the internet, but I don't know how to do it. And I have this feeling, it's pretty simple... Maybe by creating a menu script action?

    I am using InCopy CS4.

    Thank you!

    var doc = app.activeDocument;
    doc.documentPreferences.textAreaWidth = 60;
    
  • Text box text includes bad behavior with commas

    Hi all

    Right now I use APEX 3.1.2.
    I experienced some problems with the elements of text box when I insert commas (,) in the text.
    For example,.
    I have a form with element 3 [bis (text area), B (text), C (text)]
    If I try inserting "abc, bcd, cde" has
    I get A = 'abc', B = "bcd" and C = "cde".

    I think APEX recognizes comma (,) as a separator in the value in the query to insert the form-related. I try with a calculation calculation calculation Post or after the presents (for example "|: A |) ") to enforce the APEX to recognize all of the text, but it does not work."

    Thank you
    Nino

    Nino,

    The behavior you describe is certainly not the default behavior of the ApEx. Could you post an example of apex.oracle.com?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

  • How to have larger text that the text box so that it looks to break

    Hi all

    First of all, thank you for being so helpful last time!

    So here's my question, first of all, an illustration:

    Click and look at where he says "hector."

    http://www.Lulu.com/content/paperback-book/Hector/7496651

    I want to be higher than the black bar that sits on the white text, but I want the text to not be visible above the bar, so the final appearance will be that the top and the bottom of the text is limited. If I do the text to the size I want and then try to reduce the text box so that it is smaller, the text disappears and I get this little red box with the sign + in it (which indicates that there is in the invisible text box). I tried to make the text in Photoshop, and then import it, but unfortunately this particular text is kearning to make it look like how to do and this feature is not available in PS.

    Any suggestions? Thank you very much!!!

    Put the text in an image and do as you wish. Now select the text block and cut it to the Clipboard.

    Create a new image and choose paste into. Resize the new framework to crop the text as you wish.

    Bob

  • Can not unlock a Master Page text boxes

    Hello

    First think first: Adobe InDesign CC for MAC, OS X 10.9.1.

    I received a file from a client with a lot of master pages. Now, what intrigues me is that at point, the designer uses a master page (title on bottom - Y) to add text on the footer, which foot is then used on the rest of the master pages. Each master page contains three layers: text, Images, frames blue boxes.

    Screenshot 2014-01-08 21.48.15.png

    Then he created another master page (Z - Footers_Page #).

    Now, the delicate issue.

    There, initially, locked down titles that have been on the layer of text boxes. I unlock them.

    Screenshot 2014-01-08 21.49.55.png

    Then, I went on my page document to sselect this footer text and put a little smaller, but only on this page, not on every page of the document. Usually, this is done by clicking on the desired text block while pressing command + shift. It did not work.

    I checked the master pages and noticed that the page that I tried to change used the Z Master. So, I thought that the master might have locked up too substantive text. So I went to this basic form and I noticed that the text boxes containing footers is not locked but has not yet shown on any of these three layers.

    Screenshot 2014-01-08 21.50.19.png

    I tried the command + shift + click on the boxing of text containing the phrase ending by... Central Virginia, to make it editable. No question. They are not shown in the text layer boxes.

    The only text boxes, I can change are the page numbers.

    Screenshot 2014-01-08 21.50.43.png

    However, when I do the layer of invisible text boxes, all the footers disappear, including those I can't edit at all.

    Screenshot 2014-01-08 21.50.30.png

    I started, so I was wondering. What is going on? Commands like show all on the spread or unlock everything on spreads are gray. So, how do I change this line on a single page.

    There is a little professional manner, but I preffer to learn before doing the amateur work.

    Thank you.

    Sebastian

    Select master z doing Ctrl A to select all the items on the master. On the flyout menu go to Master Pages/Allow Master item overrides on selection.

Maybe you are looking for

  • How can I keep the window visible on top

    I am watching videos and want to keep them 'up' of all the other windows that I switch between applications like Word to the Explorer to safari to google... I want to keep my video playing visible on 'top' of all other windows.

  • Satellite L550: some CDs don't play properly - scratching noise

    I have a Satellite L550, and I've been happy with it so far, as long as I didn't use listening to CD.Now, I discovered, that certain CD will not be played properly (scratching noise), but some are fine. However, when I take the "scratch" in a standar

  • HP Touch Smart 600 Voltage Quad?

    Good day, I want to take your desktop HP TouchSmart 600 Quad I would like to take you there, Turkey solo electric system 110 v 220 v America if I get these products in Turkey olurmu problem... Thank you Power range

  • BlackBerry smartphones migrate my torch bbm pin no. for my new priv

    I just bought a priv. I use a bb torch loaded with 6.0 bundle 695. can I migrate my torch to priv bbm pin? If so, how? Thank you

  • Electrodes for ACS5.0 Eval

    Hello After solving a lot of problems and questions during the test (Version Eval on ESX3.5) ACS5.0 I am at the point to test authentication Radius with our WLC. I read in some messages on a patch that should resolve the issues (Ray authentic request