How to reset data when switching between two subforms

I have two subforms that are either displayed or hidden based on a radio button selection.

If '1' option button is selected, subform1 is visible and subform2 is hidden and vice versa.

It's hard for me to explain, please bear with me.

I want to do is to clear the fields in the subform if you switch backwards between subforms.

For example:

1. click on the button '1' (visible subform1)
2 fill subform1.

3. click on button '2' (subform1 now hidden)

4. click on the '1' button (subform1 is visible and the fields are white( )

I found the script in another post for a similar problem below. I put it as an event "click" for each item in the Radio button, but I don't know where it is supposed to go like the other post said no. It works, but it gives off the entire form, not only the fields in the subform.

xfa.host.resetData ("xfa.form.form1.subform1");

Can someone tell me the good script to make my form to work?

Please keep it simple. The extent of my knowledge of JavaScript is basically cut and past and hope it works. If this does not work, it is by the grace of God only. I couldn't tell you the difference between a SOM and a node.

So, if anyone has an answer, please mute with regard to the level of a third-grade student.

According to your hierarchy the command to reset the al as the Subform1 fields would be:

xfa.host.resetData ("form1. Page1.Subform1");

If you want to reset the data from more than one object you can separate them with commas, as follows:

xfa.host.resetData ("form1. Page1.Subform1', 'form1. Page1.Subform2");

Note that the commands are case-sensitive. .you used a tiny s to the subform so the expression in quotes does not begin with xfa.

The order will go between the braces in the section where test you the radioButton control to the value you want.

If you want to reset when the user selects Yes then put it in the if section. If you want when they choose No., put it in the other section.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • How to reset the automatic switching between user accounts in windows 7?

    for HP g62 laptop, model LG230PA

    Hello VyoSame.  I understand that you have to post a screenshot.

    You can use the tool to capture to capture an image of a part of your screen.  This document can show you how to use this utility.  Then you can download the image on a site like IMGur and post the link here.

    I'll keep an eye your screenshot.  Have a great day!

  • How to switch between two keyboards (Japanese keyboards have the double function of "direct entry"

    I have a laptop with keys 'English' and 'Japanese' on the same key board.  For example "A" key is also 'CHI' in Japanese, 'B' is also "KO" in Japanese.  How to switch between the two.  It changes itself.  This seems to happen after the mail in Hotmail changed in Outlook.

    Thank you

    Tomoko

    Hello

    Please go to the Microsoft Community Forums.

    From the description of the question, we understand that you want to switch between two keyboards entries.

    Let me go ahead and help you with the issue.

    Here are some steps you can follow to resolve the problem:

    Step 1:

    To change the default language, follow these steps:

    a. Click Start and then click Control Panel.
    b. double-click regional and Language Options.
    c. click on the languages tab, click details and then click Add.
    d. under input language, add the language that you want to use.
    e. under Configuration keyboard/IME, click the keyboard layout that you want, and then click OK.
    Note: Only users who have permissions on the local computer can configure the following options on the languages tab in the regional and Language Options.

    Step 2:

    To resolve this problem, change the hot key settings in your computer system. To do this, follow these steps:

    a. right click on the language bar and then click settings.
    b. in the Text Services and input languages window, click the Advanced Settings button select an action and then click Change Key Sequence.
    c. set keys and then save the settings.

    Hope that answers your query. You can write back to us for other queries/problems related to windows and we will be happy to help you further.

  • How warns we reconnect when switching in demand between different module in 6.1.1.1.11?

    How warns we reconnect when switching in demand between different module in 6.1.1.1.11?

    Please, help me to understand this or fix it?

    Be sure to check that your containing remote access service is running. If it's not, restart the service and if it breaks down again, check the event logs.

    Ensure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the user to remote access container is configured by using the SetupAssistant.

    
             
                   
             
            
             
                 
    ....
    

    If the remote container Service fails, please contact Support with precision since the event logs.

  • How to get a dialog/pop up when switching between PanelTabbed ShowDtlItem

    I have an obligation to ask the user through a dialog/pop up when switching between PanelTabbed ShowDetailItems (if he really wants to move to another tab).
    How can we achieve this?
    Framework provides all the methods?

    Hello

    Since you have to remove the switch tab, I think you should try an af:clientListener, and then cancel the click event and display the context menu. If the user confirms the switch, manually set the property disclosed on the showDetailItems that you want to display and the panetabbed componnent ppr

    Frank

  • Switch between two intelligent forms with a single button?

    Hello!  I work at 8 Captivate and try to use a single button to switch between two smartshapes.  I can't for the life of me figure out how to do it.  I know its possible to make it 'show' and 'hide', but is it possible to simply create a user click on a button and whenever we click on it, it comes and goes between two different smartshapes?

    Im trying to show the user the functionality on a piece of equipment when they press a button.  When they push the button, it comes and goes between two different read out on the screen.

    Thanks in advance!

    Have you looked at the blog post that I posted a link: I offer 4 scenarios.

    It can also easily be done, if you have a separate (shape) button to switch between two different objects:

    1. Create a user with a default value of 0 v_visib variable
    2. Create two objects and one of them is visible, the other invisible output ("eye" in the Properties Panel icon); I've tagged the ShapeOne and ShapeTwo, where ShapeOne is visible at the beginning
    3. Create this advanced conditional action (you can also turn it into a shared action):

    IF v_visib equals 0
    Hide ShapeOne
    See the ShapeTwo
    Toggle v_visib
    ON THE OTHER

    Hide ShapeTwo

    See the ShapeOne

    Toggle v_visib

    4 assign this action to the success of the button event

  • a homepage where I can switch between two languages?

    How can I create a home page where I give the user the ability to switch between two languages?
    I what to have differences in the corner flags, so when you press a flag he switch to another language.

    Hi Jan,

    You can create different pages for different languages. You can place the flag on the homepage and a link to the page language of your choice.

    Kind regards

    Aish

  • Trails of the icon when switching between desktops in the Sierra

    I noticed some display problems since the update for Sierra. I see some trails icon when switching between desktop computers as well as a line of 1px of random colors on the right side of the screen seems to be leftover pixels for the desktop switch as well.

    Here is a screenshot: https://cl.ly/hegc

    Here is a video showing the paths of the icon: https://cl.ly/hef9

    Any other light this or know how to fix? It's rather annoying.

    Thanks in advance,

    Brent

    Hello Brent Spore.

    Thank you for reaching out to the Community Support from Apple. I know how it is important to keep your Mac running properly, and I want to help him.  Whenever we see the behavior as what you described, it is a good idea to test the symptoms in a separate user in safe mode. This will help us determine if the remanence of the icon is linked to a problem with the user account or if it's a question broad system. The articles below will guide you through these steps.

    How to test a question in another account on your Mac.

    Try safe mode if your Mac does not end commissioning

    If the ghost still occurs in safe mode, then we know it is a question broad system and I would recommend backup your Mac and Mac OS re-install using recovery, as described in the articles below:

    Use Time Machine to back up or restore your Mac

    How do I reinstall macOS

    If the behaviour continues or if you encounter difficulties, the entire community is here to help.

    Best regards.

  • I have a problem with the mouse cursor moving left to right and not conversely when switching between screens.

    Original title: change the direction of the mouse moves from the main screen to the external monitor

    My mouse movements from left to right when moving from one screen to the other, I want that he move right left how do that change

    Hi Jayson Bourne,

    Welcome to the Microsoft community. According to the description of problem cursor mouse moves from left to right and not vice versa when switching between screens. Provide the following information:

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What is the brand and model of the mouse?

    I'll help you with this problem. I suggest you follow these methods.

    Method 1: Follow the steps in the article.

    Change the settings of the mouse

    Method 2: Update the latest drivers/software for the mouse.

    Updated a hardware driver that is not working properly

    I hope this helps. Let us know if you need help with Windows related issues. We will be happy to help you.

  • How to remove the white space between two response reports

    How to remove the white space between two response reports

    In the section of dashboard, I have 2 rqeuest. Each query returns Table view. When I view the dashboard, it shows a blank separating 2 table views. How can I get rid of the band of white/white space?

    See this link

    Re: Remove the space between the two reports on the dashboard page OBIEE Section

    Kind regards
    Sandeep

  • Rearrange the spaces when switching between applications

    When switching between apps spaces can reorganize, which is disturbing for users with specific workflows. For example, right now I have 6 places with different applications in each, and I have these in a specific order. However, since upgrading to El Capitan, I find continues to reorganize themselves. I can reproduce this by opting for an application by opening a window in a non adjacent space. For example, I have a window open in 4-space and I am consulting a window in space 1. If I pass this request, space 4 will be moved to position 2. It always seems to move space to the next position to the right of the current space. I can reproduce this reliable either by opting for an application by using cmd - tab, or if I have multiple windows for a single application running in more than one space, using app expose.

    Djroshi,

    My office reorganise themselves once the screen saver is running can provide you with some tips to change this behavior.

  • Delicate design adds huge empty space when switching between breakpoints

    Hello

    On my site: http://mannyrothman.com . For some reason any in the browser when switching between breakpoints (mobile office and back on desktop) a large white space appears between «for professional content...» ' And 'contact'.

    What is going on? Is this a bug of Muse or do I set my breakpoints incorrectly?

    Thank you!

    Hi Manny,

    Your HTML widgets at the top of your page are the cause. Interestingly, it seems to be the "Flipping Transitioner V5" widget which is triggering problems. When I remove this Widget, page exports and behaves properly. With only this widget on the page, he begins to develop, then corrects herself. My recommendation is to study with MuseResources.com why this widget is causing this bug.

    Thank you

    Dana

  • Reset the workspace when switching between laptop and external monitor

    Is there a way to have my work space reset itself (or better yet change between two workspaces) when I pass between my laptop and my external monitor to my office. Adobe likes to crush my workspace in a sea of useless, mutilated pallets when I leave my office. There at least had the kindness to put it when I get back.

    I realize I can manually reset and I even put in place a combination of keys, but I don't see why he can't do it on its own. Or better yet, stop blend it upward in the first place.

    Unfortunately, I think it's an OS and PS reacts only to have to resize it to another monitor.

  • First Pro crashes when switching between applications

    Hi all

    I edit with Premiere Pro on a Mac Pro running OS X 10.10.2 cylinder (3.5 GHz 6 - Core Intel Xeon E5, 16 GB 1866 MHz DDR3 ECC, over-pants D500 3072 MB), when I connect the images with Excel, I noticed after some time switching between Excel and Premiere Pro or all the other apps, first Pro STILL crashes with the error serious.


    Project is very disappointing and frustrating that you need to open the recovery file, creating another file and have to get timecode all over again, lost a lot of time to. Expect First pro to work smoothly on a Mac Pro.

    Anyone have a similar experience or know a solution?

    Thank you

    L

    29/03/2015 07:19:23.457 com.apple.xpc.launchd [1]: (com.adobe.AdobePremierePro.66488 [4527]) Service was released due to the signal: Segfault: 11

    Here is my complete crash report:

    https://www.dropbox.com/s/08igd5s3s6evquv/Adobe%20Premiere%20PRO%20CC.txt?DL=0

    Process: Adobe Premiere Pro CC 2014 [4527]

    Path: / Applications/Adobe Premiere Pro 2014/Adobe Premiere Pro 2014.app/Contents/MacOS/Adobe first Pro 2014 CC CC CC

    ID: com.adobe.AdobePremierePro

    Version: 8.2.0 (8.2.0)

    Code type: X 86-64 (Native)

    Parent process:? [1]

    Responsible for: Adobe Premiere Pro CC 2014 [4527]

    User ID: 501

    Date/time: 07:19:22.403 2015-03-29 + 0100

    OS version: Mac OS X 10.10.2 (14-1514)

    Report Version: 11

    Anonymous UUID: D42F2CB9-98B4-C04E-E594-A17C39AC5324

    Sleep/wake UUID: B58E8A4B-751B-4568-925F-D3E9E1130B43

    Time since started awake: 13000 seconds

    Wake time: 4000 seconds

    Crashed thread: 0 dispatch queue: com.apple.main - wire

    Exception type: EXC_BAD_ACCESS (SIGSEGV)

    Exception codes: KERN_INVALID_ADDRESS at 0 x 0000000000000000

    Hello world

    I dug deeper reading crash log, and discovered that the reason of my crash is primarily due to the confusion of audio output my mac has as he move from an internal speaker and speaker output and causes the crash. Since I had bought a DAC (digital-to-analog converter) and set the audio output of the DAC first and have no accidents since then. It will be useful.

    L

    ---

    Thread 0 crashed: Dispatch queue: com.apple.main - wire

    0 com.adobe.AudioSupport.framework 0x0000000103d7f8d0 ML::Device:GetNumberOfPhysicalChannels(unsigned_int,_bool) + 80

    1 com.adobe.AudioSupport.framework 0x0000000103d6adb8 ML::CoreAudioHost:PrivateInitDriver(std::basic_string____,_dvacore::utility::SmallBlockAllocator::STLAllocator_ _>_const&) + 712

    2 com.adobe.AudioSupport.framework 0x0000000103d6a18f ML::CoreAudioHost:LoadDriverPrivate(std::basic_string____,_dvacore::utility::SmallBlockAllocator::STLAllocator_ _>_const&,_bool,_bool) + 351

    3 com.adobe.AudioSupport.framework 0x0000000103d6dac1 ML::CoreAudioHost:LoadDriver(std::basic_string____,_dvacore::utility::SmallBlockAllocator::STLAllocator_ _>_const&) + 33

    4 com.adobe.AudioSupport.framework 0x0000000103d7b348 ML::CoreAudioHost::AddDependancy() + 56

  • How can I make a network between two databases?

    Hello all;
    Is going to set up oracle 10 g - (
    I try to Exchange data between two different databases.)
    Each database is configured in different operating systems.

    For ex: a database of windows XP (separate virtual machinne)
    a database of linux rhel (separate virtual machinne)

    I'm waiting for suggestions...

    Thank you...

    Published by: 969352 on March 19, 2013 10:04

    969352 wrote:

    What virtualization product do you use?

    * #* vmware - toolbox - cmd - v
    8.1.3.9911 (build-203739)

    VMWARE product information:

    Version: 7.0.0 build - 203739

    Ok. You will need to ensure that the ip addresses you assign to your virtual machines are in the same subnet that the adapter created by the installation of vmware. Once you get the fixed basic network installation, you can treat these virtual machines like any machine in your data center. Forget the vm console and access it exactly as you would for any remote server - putty for the Linux and Windows Remote Desktop to the Windows machine.

    To a prompt on the host computer, post this:

    c:> ipconfig -all
    

    You will get feedback on multiple net cards, of which two are identified as with vmware - vmNet1 and vmNet8. Note the IP addresses of the two. We'll need later.
    You'll also need to know how you have configured the network cards on your virtual machine - NAT, bridged, hostonly?

    Note that these issues are out of scope for this forum. I don't mind helping, but I don't have an installation of vmware for details of the reference.

    Which have really tried to do? ( Data transfer )

    I tried to Exchange data from windows to linux DB database

    It's pretty vague. Exactly how did you try to "Exchange data"? A SQL using a db_link? import/export? Pigeons?
    >

    Where are you stuck?

    I don't know, how to set up the ip address and the necessary information for the windows database.

    Configuration of an IP address is purely a matter of admin OS and out of range for this database forum.
    Google is your friend, but only if you use: [url http://lmgtfy.com/?q=configure+windows+ip+address] http://lmgtfy.com/?q=configure+windows+ip+address
    >

    It's all Edstevens... Thank you...

Maybe you are looking for