Change ' display as ' type text box with radio button

Hello

I have a field on a form html clob. I have the default ' display as ' the value "Textarea with spell checker... I created a radio button with 2 values:

Edit
Overview HTML

Is it possible to change the "display as" to "with the HTML Textarea editor' to switch between the radio button options? Any help would be appreciated I am running 3.1.2.00.02

Thank you

You could

(1) call textarea_1 'Textarea with spell checker.
(2) define as «Textarea with HTML editor» textarea_2
(3) use javascript to show or hide one of them according to the radio button

CITY

Tags: Database

Similar Questions

  • 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

  • Change the size of text for the radio button label

    Is it possible to change the size of the text of the label of a radio button component? I am creating a questionnaire for young people and the need for a much larger text...

    I know I could have no label and a text box, but the text box is not "clickable" while the label is.

    Thank you.

    ActionScript 3:

    var _textFormat:TextFormat = new TextFormat();
    _textFormat.font = "arial";
    _textFormat.size = 15;

    myRadioButton.setStyle ("textFormat", _textFormat);

    ActionScript 2:

    myRadioButton.setStyle("fontSize",15);

  • Dialogue with radio buttons

    Honourable experts,

    I'm on Win7 64 bit, CS6 (ID 8.1.0.420).

    Script of skills - somewhere in the "Very basic" level

    Now try to adopt, my needs, a dialog box with radio buttons, as in Script UI v2-2 Peter Kahrel, pdf, page 17:

    var w = new Window ("dialog");
    var radio_group = w.add ("panel");
    radio_group.alignChildren = "left";
    radio_group.add ("radiobutton", undefined, "InDesign");
    radio_group.add ("radiobutton", undefined, "PDF");
    radio_group.add ("radiobutton", undefined, "IDML");
    radio_group.add ("radiobutton", undefined, "Text");
    w.add ("button", undefined, "OK");
    // set dialog defaults
    radio_group.children[0].value = true;
    function selected_rbutton (rbuttons)
    {
    for (var i = 0; i < rbuttons.children.length; i++)
    if (rbuttons.children[i].value == true)
    return rbuttons.children[i].text;
    }
    if (w.show () == 1)
    alert ("You picked " + selected_rbutton (radio_group))
    

    My version is designed for operation on the text selected (with the text tool). And here's the problem.

    After selecting the text with Ctrl + A, or shift + end or Ctrl + Shift + end - then - hit KB shortcut assigned to the script I usually 'loose' the mouse pointer. It is still there, but turns out is invisible on the entire InDesign window. "Usually" means approximately 5-6, 10 times... Who escapes from the script window and still hit the shortcut script works - next try mouse pointer remains visible. Until you select another part of the text...

    If the text has been selected with the mouse - or - script is invoked by double-clicking its name in the actions palette, everything goes well, always. Also works well with other types of selection.

    Changing shortcut KB has no effect.

    Replace a mouse has no effect. Microsoft (wired) and mouse optical Logitech (wireless) tested.

    However:

    on a system that is completely up-to-date (Windows 10 Pro N, 1511 version, build 10586,63 x 64 / InDesign CC 2015.2, to build a 11.2.0.100 x 64) it works - there is no mouse pointer disappears.

    Have not the opportunity to test on any other configuration now.

    Could someone confirm this mouse related volatility on Win7/CS6, or is it quite unique in my system?

    And another question:

    Is it possible to activate here cycling through radio buttons to arrow keys, as he works in the script of this Marc Autret?

    http://www.Indiscripts.com/post/2009/09/clean-up-your-pasteboard

    He would let me live with the 1st problem unsolved... Anyway, the keyboard-based workflow is preferable.

    Behold, this is my version changed so far. However, it comes in the same way as described above.

    w=new Window("dialog", "Code");
    radio=w.add("panel", undefined, "Choose Action");
    w.alignChildren="fill";
    radio.optionbtns=radio.add("group");
    radio.optionbtns.orientation="column";
    option1=w.add("radiobutton", undefined, "Action One");
    option2=w.add("radiobutton", undefined, "Action Two");
    option3=w.add("radiobutton", undefined, "Action Three");
    option4=w.add("radiobutton", undefined, "Action Four");
    option1.value = true;
    w.add ("button", undefined, "OK");
                if (w.show() == 1){  
         if (option1.value == true)  
         {alert("Action One!"); exit();};
         if (option2.value == true)  
         {alert("Action Two!"); exit();};
         if (option3.value == true)  
         {alert("Action Three!"); exit();};
          if (option4.value == true)  
         {alert("Action Four!"); exit();};  
        }
    {  
        exit();  
        };
    

    Your comments are greatly appreciated.

    Except the upgrade - this isn't an option so far, sorry, Adobe...

    Hello

    small changes, try this:

    var
      w=new Window("dialog", "Code"),
      radio=w.add("panel", undefined, "Choose Action"),
      option1=radio.add("radiobutton", undefined, "Action One"),
      option2=radio.add("radiobutton", undefined, "Action Two"),
      option3=radio.add("radiobutton", undefined, "Action Three"),
      option4=radio.add("radiobutton", undefined, "Action Four");  
    
    w.add ("button", undefined, "OK"); 
    
    option1.value = true;
    radio.alignChildren="left";
    radio.margins = [10,20,10,10];
    
    function handle_key (key)
    {
      var
      scope = radio.children.length,
      p, newPos, step;
      switch (key.keyName)
      {
      case "Up": step = -1; break;
      case "Down": step = 1; break;
      default : return;
      }
      for (p = 0; p < scope; p++)
      if (radio.children[p].value) {
      newPos = p + step;
      switch (newPos) {
      case scope: newPos = 0; break; // go to first
      case -1: newPos = scope - 1; // go to last
      }
      radio.children[newPos].value = true;
      break;
      }
      } // handle_key
    
    w.addEventListener ("keydown", function (k) {handle_key (k)});
    
    if (w.show() == 1){
         if (option1.value) alert("Action One!");
         if (option2.value) alert("Action Two!");
      if (option3.value) alert("Action Three!");
      if (option4.value) alert("Action Four!");
        }
    else {
        exit();
        };
    

    Can't help you with strange behavior mouse (no idea)

    Jarek

  • I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    1. Draw a set of concentric half circles also spaced, stacked so that the outermost is the most remote.
    2. Use the text tool to add text to the outermost path, thus creating a PathType object.
    3. Select all the paths. Type > threaded text > create.
    4. Text tool: click at the end of the text in the object of PathType. Continue typing.

    > If I do that it will not type more.

    A Warp effect is a direct effect. When it is applied to the type of objects, they are still editable text. The chain will deform, however, the text also, not only the paths to which it is attached. Sometimes you want that, sometimes you don't have.

    JET

  • Turn off the text box with the value of the checkbox

    Hello people,

    I am trying to activate or disable the text box with the value of the CHECKBOX, I have got the same thing with the BOX of ELECTION, with the javascript as follows: -.

    HEADER HTML
    ----------------------
    < script type = "text/javascript" >
    function disableOnValue (o)
    {
    If (o.value == 'Y')
    {
    document.getElementById('P2_TEXT_BOX1').disabled = false;
    document.getElementById('P2_TEXT_BOX2').disabled = false;
    document.getElementById('P2_TEXT_BOX3').disabled = false;
    }
    on the other
    {
    document.getElementById('P2_TEXT_BOX1').disabled = true;
    document.getElementById('P2_TEXT_BOX2').disabled = true;
    document.getElementById('P2_TEXT_BOX3').disabled = true;
    }
    }
    < /script >
    ---------------------

    under region Source whose Point display is < b > before < /b > foot and sequence is the last sequence of the entire region
    ----------------
    < script type = "text/javascript" >
    If (document.getElementById('P2_RADIO_BUTTON_0').checked is true)
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_0')) ;}
    on the other
    {disableOnValue (document.getElementById('P2_RADIO_BUTTON_1')) ;}
    < /script >
    ----------------

    and finally, to the title of point RADIO_BUTTON, HTML Form element attributes: -.
    -----------
    OnChange = "JavaScript:disableOnValue (this); »
    ----------

    the thing above works very well with the help of the RADIOBUTTON, but I want to try same thing with the CHECK_BOX I also tried a few changes but did not have any success so if someone help out me even that will be great and appreciated!


    Thank you

    Kind regards
    Kumar

    I also have the following in the Footer region region:

    <script type="text/javascript">
    x($x('P12_CHECKBOX'));
    </script>
    

    This is just to make sure that the items are disabled when the page is loaded, because the checkbox is deactivated

    Andy

  • Conditional display in the text box based on the calculated value

    Hello

    I have radio buttons that each have a numerical value. For example = 1 A = 2 C = 0. In the example below, the total is equal to 5.
    examplescreen01.gif

    The sum is displayed at the bottom of the document and is passed to another text box:

    examplescreen02.gif

    Instead of '5' displayed in the text box on the right, it should display a "Control" Word like this:
    examplescreen03.gif

    The displayed word is based on the totals through this range:

    1-2 = 'absorbing '.

    3-4 = 'practitioner '.

    5 to 6 = "control".

    The script I used to pass the value from the left to the right text box in the chart above is:

    name of the field to text box;

    var cTextBox = 'Cabinet Talent strategy knowledge - total';

    get the value of the field with the name in cTextBox;

    var sTextBox = this.getField ("cTextBox") .value;

    Set the value of this field;

    Event.Value = sTextBox;

    That I need to add to this script to show one of the words, such as "control" above?

    I am a complete novice to scripting. I found the above script online and somehow got it to work.

    I thank very much for any help or pointers, you can provide.

    Best regards

    Chris

    Sorry, there were some errors in the code that I provided above. Try this:

    If (sTextBox > = 1 & sTextBox)<= 2)="">

    Event.Value = "absorbing";

    } ElseIf (sTextBox > = 3 & sTextBox)<= 4)="">

    Event.Value = "practitioner";

    } ElseIf (sTextBox > = 5 & sTextBox)<= 6)="">

    Event.Value = "master";

    } else {}

    Event.Value = "";

    }

    If it still does not respond, you can send me the file at [email protected] and I'll check...

  • Replace the text box with Image through breakpoints

    Hello

    I'm looking to replace the text boxes and icons with images and want to know if I can do this on several break points at the same time without having to go and manually change each breakpoint.

    My site is here: Movement of Boulder

    In the Services section of the wider breakpoint, you can see the images that I want, but if you minimize the browser window, you will see the images and the text that he was supposed to replace. Is it possible to replace all the text boxes with the images you want?

    Hello griffinb,

    If you delete a breakpoint text areas, they will be removed from all.

    After you have placed your image just right-click on it and select the option ' copy the style and position > to other breakpoints.

    Let me know if you have any problems getting there.

    Kind regards

    Ankush

  • Text box with AutoC fails the first time around

    4.2.1

    Hello world

    A text box with Auto c0mplete and the willing lov query of a filter on an another field (actually), two of which are defined by dynamic actions. Whats happening is the AutoComplete does not work. I've set up here

    In fact, when the user selects the command 1, it has only 1 product, it will show a field of the view, if you select 2, she has two products so that it displays a list of selection with B and C. Now when the user select all products like A, B etc. then it should be able to further refine research where when he register has, then the seizure AutoComplete search box shows ABDELKRIM (the name of the product)

    If possible if you can duplicate the page rather than modify the existing one on would be very nice incase you are testing.

    Thank you!

    The LOV query for the AutoComplete P586_SEARCH_LOV element depends on the value of the issue of P586_PRODUCT_NAME_LIST session state:

    select product_full_name from product_details pd, products p
    where  pd.product_name =p.product_name and
    p.product_name = nvl(:P586_PRODUCT_NAME_LIST,:P586_PRODUCT_NAME_DISPLAY)
    

    As you can see by using the Session Viewer, this was not initially a value.

    The value of P586_PRODUCT_NAME_LIST is assigned dynamically using LOV cascading. Similarly, P586_SEARCH_LOV must also be an element of LOV cascading, the property Parent of the LOV cascading item (s) to P586_PRODUCT_NAME_LIST.

    Note that the only State of Session save of P586_PRODUCT_NAME_DISPLAY display property is set to No, meaning that it does she hold a session state value. Its use in the P586_SEARCH_LOV LOV query is therefore redundant, following the the: P586_PRODUCT_NAME_DISPLAY variable bind reference will always be null. P586_PRODUCT_NAME_LIST still holds the value of product name, even when it is not visible.

    Questions in these last days, looks like you need to refresh your understanding of APEX session state...

  • Add up the scores in the text box with a variable

    Hello

    I create a quiz form that does not use the quiz slides (5,5) standard Adobe Captivate. I get the learner to mark themselves and enter the score into a text entry in a TextAreaWithVariable area. The scores are then displayed on the last page in the corresponding text box TextAreaWithVariable.

    I wish that Captivate to add up the scores on the last page. I've read somewhere that you use Actions in advance, so when the student enters the page it triggers the calculation by using the action of the Expression. The problem is that when you configure the action, it does not recognize the three TextAreaWithVariables on the page. They are all appointed, but the action does not pick up them.

    Could you get it someone please let me know where I am going wrong here.

    Thank you very much

    Nick

    Hi Nick,

    I've been blogging on the use of the text with Variables by Jim box:

    Extended features

    In the article referenced to in this post, you will find explanations in detail the advanced actions that I used.

    But I'm a little afraid that I need additional information:

    • you have a text box, with its variable partner on one page and this variable gets its value (20) by the user
    • How many of these slides you?
    • but then, you talk of multiple partitions that you want to summarize in a total variable to be displayed on another TextArea widget to the last slide.

    How you trigger the advanced actions to calculate the sum? I suggest that use you the action on enter each slide after the first question slide to temporary sum. Try to explain:

    1. Score of the first slide in question entered by the user and stored in the variable v_quest1
    2. Entering the second question slide create this advanced standard action triggered by action on enter on this slide
      • Expression v_sum = v_sum + v_quest1
      • Continue
    3. Entering the third question slide create a similar action with the score stored in v_quest2
      • Expression v_sum = v_sum + v_quest2
      • Continue
    4. When you enter the slide of score you the last of this breakthrough of similar actions to trigger and the final result will be in v_sum

    If you do not need to keep the individual from each question scores, you can even re - use only a single variable v_quest that would be associated with all widgets except on the slide to score and you can reuse the action advanced on each slide without having to edit.

    Lilybiri

  • How do complete you 1 text box with multiple drop-down list values

    I can fill in a text box with a value in a drop-down list, but if I have 2 drop-down list values going to the same area of text (multiple lines), the second drop-down list value removes the first value.

    (A similar code on the drop-down list 1 and 2 from the drop-down list)

    Change event - JavaScript

    If (xfa.event.newText == 'No') {}

    Form1.Page1.subform2.Description.RawValue = "no location listed.

    }

    If (xfa.event.newText == "Partial renting") {}

    Form1.Page1.subform2.Description.RawValue = "enumerated part place."

    }

    Do I have to Concat the fields in 1 text field so that it can have several values in drop-down list, and if so how do I do that?

    Thanks in advance for your help.

    Resolved:

    Place this script in the root of the subform in the FormReady - JavaScript event.

    oList var = this.getDeltas ();

    for (i = 0; i< olist.length;="" i="">

    {

    var oDelta = oList.item (i);

    oDelta.restore ();

    }

    Answer was found at http://forms.stefcameron.com/2008/09/29/restoring-the-of-your-form/

  • How to get the description of text box with some HTML &lt; P &gt; tag

    Hi friends,

    I created two point, an element of box P1_RICH_TEXT_FIELD rich text field and a text item field area P1_TEXT_AREA. I created the calculation process to copy the value of P1_RICH_TEXT_FIELD in P1_TEXT_AREA. Calculation works well but contect copy in P1_TEXT_AREA are

    < p >

    Test Test description description < /p >

    < p >

    Test DescritionTest DescritionTest description < /p >

    < p >

    Test DescritionTest DescritionTest description Test Test DescritionTest Test Test Test Descritionhkjhkh < /p > description description description description


    I need to copy with the tag < p >.


    How to get the description of text box with the HTML < P > tag



    Thank you

    Hi Alex,

    Thank you very much. You want very criticle problem for me. Thank you very much.

    Now, there are several tags in the rich text field

    "span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, big, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, b, u, I, Center, dl, dt, dd, ol, ul, li, label, table, caption, tbody, tfoot, thead, tr, th, td" etc.

    How can I move all these in REGEXP_REPLACE (: P1_RICH_TEXT_FIELD, ')

    |

    (", 1, 0, im ') code.

    Thank you

  • How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    Ashley,

    What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?

  • Some way to work in a text box with HTML javascript editor

    Hello

    I understand that javascript does not work in a text box with the HTML editor. I need to use an event of javascript onFocus on my article which is a text box with the HTML editor. Someone did another way? Thank you.

    Suni

    Suni,

    If you are talking about The MINIMAL HTML EDITOR or HTML STANDARD EDITOR then APEX is actually creates a version of the FCKEditor .

    You can record events with the FCKEditor using JavaScript. I find including code JavaScript in the footer of the page TEXT are preferable because it is less likely to encounter problems that FCK editors still instantiated yet.

    Here's and example popping up an alert on the entrance and exit.

    
    

    The first function (FCKeditor_OnComplete) logs an event OnFocus and OnBlur with the FCKEditor that its creation is complete. Aware however that in this example, the events will be be assigned to EACH instance of the FCKEditor on the page. If you want to reduce it to a single or to assign different events to instances of the editor, you could do it using the IF or CASE instructions inside the OnComplete function.

    I hope this helps.

    Doug Gault
    [Sumner technologies | http://www.sumnertech.com/]

  • Printable version with Radio buttons/check boxes

    I have a form that works very well and that has check boxes and radio buttons.

    All is well in shape.

    But now I need to create a printable form when the user is finished.

    The problem is when the user gets the printable version, they can always click on the radio buttons/boxes.
    (I know that is not write in the db)

    How can I create this printable version so that the radio buttons/boxes cannot be modified?

    Since it is printing a single page, you can consider making the images of your radio buttons and checkboxes. Two radio buttons, a check and the other not controlled; same for the boxes.

    The code below should give you the idea.

Maybe you are looking for