Form with nested iframe stumper


I have a form with a nested iframe. At the top of the form (outside), there is a drop-down list that is used to filter a large table of data in a smaller set of results. The iframe displays the result in a table/grid, and each line has a check box. The form must also have a button 'send' (outside), which updates a second table of database with lines selected from grid iframe entries that have been selected using the checkboxes.
Thus, the function of filter of the form creates the content of the iframe, and form submit button uses the selected content of the iframe to perform a database insert.
Is this possible? Thank you!

Thanks for the tips. I know I have to move to learn javascript, one of these days (and I already joined a few freebies open source in my site) but I also find that javascript solutions are used when they are not needed, and because I work with a very compressed development schedule, I can't really take too much time out for study.
Thanks again!

Tags: ColdFusion

Similar Questions

  • Geolocation API works with sandboxed iframes or provide an error

    The navigator.geolocation.watchPosition function call does not work with sandboxed iframes where allow-same-origin is not specified (so the iframe counts as a unique and anonymous origin). I assumed that in so doing the iframe in sandbox inherits is not permission to use the geolocation API to the site that contains is a smart decision. Personally, I wish I had a way to create sandboxed iframes that can also use the geolocation API, but I don't understand if that is not implemented. However, a sandbox or an iframe also does not receive an authorization error when using the geolocation API that is completely wrong and makes it really difficult to debug.

    Perhaps, the https://bugzilla.mozilla.org/show_bug.cgi?id=675533 bug is related somehow?

    I think that it is beyond the scope of support. You can file a new bug and see how it goes: https://bugzilla.mozilla.org/

  • A problem with the display in a form with a ScatterGraph

    Hi all!
     
    Now, I want to do an image that can be expanded outside and inside with the viewport in a form with a ScatterGraph window. I tried previously to do this picture as a backdrop, but the backgroundpicture cannot be zoomed with the display window. How can I solve this problem?

    Here is the picture:

    Or I have to calculate a large amout of points to sign on the coordination of xy without the image, and how can I register quickly because it takes a long time to calculate.

    Hello

    You can zoom/dΘplacer an image as well as the plot in charts. Here is a snippet of code showing how you can do it.

    Normal
    0

    fake
    fake
    fake

    EN-US
    X NONE
    X NONE

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    MSO-style-priority: 99;
    MSO-style - qformat:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin-top: 0;
    MSO-para-margin-right: 0;
    MSO-para-margin-bottom: 10.0pt;
    MSO-para-margin-left: 0;
    line-height: 115%;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    mso-fareast-font-family: "Times New Roman";
    mso-fareast-theme-make: minor-fareast.
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}
    table. MsoTableGrid
    {mso-style-name: "Table Grid";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style-priority: 59;
    MSO-style-unhide: no;
    black border: solid 1.0pt;
    MSO - border - themecolor:text1;
    MSO-border-alt: solid black .5pt;
    MSO - border - themecolor:text1;
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO - border - black insideh:.5pt United.
    MSO-border-insideh - themecolor:text1;
    MSO - border - black insidev:.5pt United.
    MSO-border-information - themecolor:text1;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}

    Image img =
    Bitmap.FromFile ("myImage.jpg");

    in pixels, this is the place
    where the image will be drawn

    RectangleF initialRectangle = Rectangle.Empty;

    in the data, to map coordinates the
    image

    XRange range;

    Range yRange;

    Private Sub PlotMyData()

    {

    plot your data here

    xData double [] = new double [] {3, 5, 7, 5, 8, 3, 7, 8, 2, 6};

    Double]
    yData = new double [] {9, 1, 2, 6, 8, 3, 3, 6, 2, 2};

    scatterGraph1.PlotXY (xData, yData);

    xRange and yRange define the plot area limits left-top to bottom-right

    xRange = new range (xAxis1.Range.Minimum, xAxis1.Range.Maximum);

    yRange =
    new range (yAxis1.Range.Minimum, yAxis1.Range.Maximum);

    RecalculateImageBounds();

    }

    Simply map the data coordinates
    values in pixels

    posts from the top left and lower right must be mapped.

    Private Sub RecalculateImageBounds()

    {

    PointF
    size = scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds,
    (xRange.Maximum, yRange.Minimum);

    initialRectangle.Location =
    scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds, xRange.Minimum,
    yRange.Maximum);

    initialRectangle.Width = size. X - initialRectangle.Location.X;

    initialRectangle.Height = size. Y - initialRectangle.Location.Y;

    }

    Just draw the image.

    Private Sub scatterGraph1_BeforeDrawPlot (sender As object, BeforeDrawXYPlotEventArgs
    (e)

    {

    RecalculateImageBounds();

    e.Graphics.DrawImage (img, initialRectangle.X, initialRectangle.Y,
    (initialRectangle.Width, initialRectangle.Height);

    }

    Make sure that the image is of good quality so that you can zoom in pretty close.

    I hope this helps.

  • a simple form with the "submit" button: can it look better?

    Hi all

    I did not imagine that a simple form (with Textfields and ChoiceFields) could do a lot of problems:

    I would like to ask a few basic questions about it. First the code (Simplified):

       GridFieldManager formfm;    
    
            EditField surname = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_DEFAULT);
        EditField email = new EditField("", "-", 25, Field.FIELD_LEFT | Field.FIELD_VCENTER | EditField.FILTER_EMAIL);
    
        public FormFieldManager(){
    
            formfm = new GridFieldManager(2,0);
    
            formfm.add(new LabelField("who: ", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
            String[] choicewho = new String[] { "Mr", "Mrs", "Miss" };
            ObjectChoiceField who = new ObjectChoiceField("", choicewho, 0, Field.FIELD_LEFT |Field.FIELD_VCENTER);
    
            formfm.add(who);
    
        formfm.add(new LabelField("Surname :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(surname);
    
        formfm.add(new LabelField("E-Mail :", Field.FIELD_RIGHT | Field.FIELD_VCENTER));
        formfm.add(email);
    
        ButtonField sendButton = new ButtonField("Send", Field.FIELD_HCENTER|ButtonField.CONSUME_CLICK);
        formfm.add(sendButton);
        FieldChangeListener listenerSendButton = new FieldChangeListener() {
        public void fieldChanged(Field field, int context) {
    
        try {
            String data = "send=true&surname=" +surname.getText();
            data += "&email=" + email.getText();      httpPost("http://bla/sendData.php", data);
        } catch (IOException e1) {
            e1.printStackTrace();
        }
        formfm.deleteAll();
        formfm.add(new LabelField("Grazie!"));
        }
      };
      sendButton.setChangeListener(listenerSendButton);
    

    now my questions:

    (1) don't miss something (style) for the EditFields? At the present time, it is possible to change them, but the behavior (9700 Simulator) is strange: it is 'difficult' to get from one field to the other and everything moves sometimes when editing...

    How do you define a standard form that seems 'normal' and can be completed as expected in other applications? (Swifts nothing, it is possible to access the next field with the expected key / trackpad (I have no touch screen)) and so on?

    The EditFields do not even have a border, but I guess that's the standard case on BlackBerry.

    (2) the ObjectChoiceField is also very ugly... It's too big... Is it not possible to reduce the size without much effort? (I couldn't everride it correctly). (I also tried with radio buttons, but unfortunately I can't add a RadioButtonGroup to my LayoutManager, strange)

    (3) it is perhaps a stupid question: I can't get the text selected from the ObjectChoiceField (to send it can in data).

    AM EditField, it's simple:

    editfield.getText()
    

    But how is it with my ChoiceField?

    I found getSelectedIndex() but it provides a value int not text...

    Thanks in advance for any suggestions!

    silizia

    1. you have defined fields as follows:

    EditField family name = new EditField ("vorname:", "-", 20, EditField.FILTER_DEFAULT);

    The 20 means 20 characters, so it's all the field allows you to enter.

    2. Yes, the mail filter is pretty useless.  Use the EmailAddressEditField instead

    3. you can play with the scroll, but the best thing to do is to set the focus on the first field that you want people to pull together - usually the upper part of the form.

  • PDF form with several auto pages copy text in fields on the following pages

    I created a PDF form with multiple pages. I started with an Illustrator file, then exported to Acrobat to make it complete. For some reason any, however, when users enter text on the first page and try to continue on the other, the text on the first page only auto copies on the following pages. And if you delete what was on the second page (or third) to enter the correct data, which provides information on the first page.

    I guess it must be something that twisted when I was creating the form, so I don't know if there is a way to fix without all over again.

    Thank you!

    Give a unique name to each field. The fields with the same name are copies of each other and will automatically have the same value.

  • call report forms (with or without parameters) oracle apex

    Hello

    I want to know if I can call report forms (with or without parameters) oracle apex?

    Thanks in advance

    Try to look at this blog: Roels Blog: integration of forms and the APEX: APEX calling forms

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How to create a form with a submit in CC button animate using Actionscript 3

    How to create a form with a submit in CC button animate using Actionscript 3. The file will first be a SWF but will also have the flexibility to export as HTML5

    I've searched high and low for an example of code for this entry.

    Can someone help me please?

    Thank you

    You can use the same graphic assets of basis for two projects, but the coding will be different for everyone.  You must work on the project of a code at a time.

  • I created a form with checkboxes.  A question has two boxes for a 'yes' another being a 'no '.  I just want to be able to select a single box, but currently, I choose both

    I created a form with checkboxes, I have currently two checkboxes in a question that I wish I could only check a box and make it mandatory that should be checked only one box.  Currently, I am able to select the two check boxes.

    Give them the same field name, but export values.

  • Can I evaluate and fill out a form with data from a custom data object?

    I'm not a developer, but I'm trying to find as much information for my web team so they can implement this for me.  We use the E10.

    I have some information for the contacts stored in a data object custom I want to use for pre-population information access door and in another form.  For example:

    1. User enters his email address into a form and hands
    2. A search and contact and custom data object (CDO)
      1. If the contact has a CDO with the required information, he fills the following form with the information
      2. If the contact does not have the required ORDER, it displays information and a link to the place where to go next

    Is it possible, and where should I direct my developers learn more about treatments?

    Richard

    Hi Richard,

    You can certainly do so using data for the Eloqua Web search (Setup > data Web Look Ups). A database search allows you to request data stored in Eloqua, bring up the page and with a few JS, we determine if they will go on track 1 or 2 you described above.

    Is that an advanced feature requires knowledge of HTML and JS. Here is a good article on data search that should help:

    Using the Eloqua Cookie to customize your Web site

    If you have any specific questions, our support team is very familiar with this feature and can help to solve problems or answer specific questions.

    -Andrew.

  • I made a form for my clients, I did this form with a button "submit" button, the button will save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is complete

    I made a form for my clients, I did this form with a button "submit" button, the button Save the form and send it, I did the URL to go to a different (different to mine) e-mail address but when I distribute the form and it is supplemented by my clients it send to my email address not the URL how to change this.

    No matter how you have configured the Send button when you use the feature distribute the form. There are some e-mail address is in your identity preferences (Edit > preferences > identity) and use it. If you can change the email address it or not to use distribute the form and the button send the value you want.

    One thing that happens when you use the feature to distribute the form is the form is enabled Reader, you can do separately, but you really shouldn't do if the form must be used by others. The dispenser a form must activate using their copy under license of Acrobat Reader.

  • Wizard built in form with Validation issues

    APEX 4.2.4, running with the Wizard built in form, with a collection as a source of data from a table. I have a manual process to save the data in my table, but I have a couple of columns having validation Wizard built on them.  When I try and save I get the message annoying that it means my data are tool and I need to update my table...

    I thought that this could be due to having disabled on my form, or perhaps because of the unalterable columns columns...  However, when I went and built a manual validation routine (have look through the g_f00x table storing data from columns one) I was still able to get this annoying message "Outdated information" to appear...

    Does anyone have a reliable solution when using forms in a table to get rid of this message?

    (Previous conversations showed my group here how to remove the "Save before paging message", then perhaps another similar solution there...)

    Thank you

    Tony Miller

    Ruckersville, WILL

    Tony Hey,

    Only point fcud table?

    You can just run

    $("input[name=fcud]").val("C");
    $("input[name=fcs]").val("");
    

    No need to use. each(). I have not really a configuration with a form of hybrid tab on a collection at hand to test, but I think that just those of compensation and submission should not produce these errors. I could be wrong however. Try to start with debugging to see if you can spot something?

  • How to create a contact form with captcha

    Hello

    I am new to Dreamweaver. I created a new site "bootstrap", but I'm stuck on the creation of a contact form for this.  I can probably understand the shape of DW, but have no idea how to add a captcha for security or how to install a program on the side server.  Can anyone help?    Thank YOU!

    the_shocker wrote:

    Dreamweaver does not features side server so this isn't a matter of Dreamweaver. You might be best to ask your server provider questions specifically related to a feature that is or is not enabled on your server.

    best,

    Shocker

    For the life of me I don't understand why anyone would go through the trouble of ringing these discussions just to get their best to not be useful.  It seems to me that since Dreamweaver allows you to create/write/upload php pages and the whole purpose of Dreamweaver is to create websites, and 80% of web sites using php, looks like a discussion of php in this Dreamweaver forum is quite appropriate!

    But that's just me.

    To my personal goal of trying to be helpful, I want to update this topic:

    The contact form is finally resolved.  I made a contact form with the beautiful shape of Nancy O at: Alt-Web Design & Publishing: Contact form sensitive with 3.2 Bootstrap and PHP (part 1)

    that has saved a lot of time, and I ended up hiring a developer at Fiverr (www.fiverr.com/abd_soft/write-fix-and-correct-your-php-script) which converted my existing script of SMTP mail.  He also created a redirect page slick for me for my old contact.htm page who turned into a contact.php page.  Of course, I've updated my site, but wanted the redirect in case there was some other links out there somewhere.

    I would like to paste the php code to be more useful, but the coding Manager put a copyright on the script that I paid for!

    If you try to install an authenticated SMTP contact form and you are not a developer, all I can say is GOOD LUCK.  I hope that my post is a bit useful.

  • form with smtp authentication

    When muse updated it contact form with smtp authentication, must that cause of change encoding manually is a big problem for a lot of people I've read about community support for third party servers. I wish that adobe would add this feature in the Muse as soon as possible. We took muse especially if we could not do coding

    Muse requires PHP sendMail to be supported. Please feel free to add to our ideas section.

    Thank you

    Sanjit

  • Open the form with the parameter send

    Hello to all the

    I have this Code to open a form with send a parameter form of the anthers

    I'm doing two settings in both forms

    but gives error

    FRM-40010 c:\ cannot read...

    The code is: -.

    declare

    pl_id paramlist;

    Start

    -pl_id: = CREATE_PARAMETER_LIST ('DEFAULT');

    PL_ID: = GET_PARAMETER_LIST ('Maintain_param');

    If not id_null (PL_ID) then

    destroy_parameter_list ('Maintain_param');

    end if;

    pl_id: = CREATE_PARAMETER_LIST ('Maintain_param');

    ADD_PARAMETER (PL_ID, "P_user_stud_id", TEXT_PARAMETER, to_char (': STUDENTS.user_stud_id'));

    OPEN_FORM ('C:\Hieet\SUPLY_CASH_RECIVE.) FMX, PL_ID');

    DELETE_PARAMETER (PL_ID, 'P_user_stud_id');

    end;

    What is the error

    I use application server 10g and 11g db



    Thank you for all

    And I'm sorry for the inconvenience

    I modified the code for:

    declare

    pl_id paramlist;

    Start

    -pl_id: = CREATE_PARAMETER_LIST ('DEFAULT');

    PL_ID: = GET_PARAMETER_LIST ('P_user_stud_id');

    If not id_null (PL_ID) then

    destroy_parameter_list ('P_user_stud_id');

    end if;

    pl_id: = CREATE_PARAMETER_LIST ('P_user_stud_id');

    ADD_PARAMETER (PL_ID, "P_user_stud_id", TEXT_PARAMETER, to_char(:STUDENTS.user_stud_id));)

    OPEN_FORM ('C:\Hieet\SUPLY_CASH_RECIVE.) FMX ", ACTIVATE, SESSION, NO_SHARE_LIBRARY_DATA, PL_ID);

    -DELETE_PARAMETER(PL_ID,'P_user_stud_id');

    end;

    and

    I create in an abstacle Trigger

    when_new_form_instance

    and write the code

    : STD_MONEY_RECEIVE.user_stud_id: =:parameter.p_user_stud_id;

    Thank you for all

    Thank you for all

    Concerning
    Ibrahim

  • 2 or more forms with "1 submit" button (Business Catalyst Forms)

    I am very new to Ajax and Java

    So I'll need a bit of hand holding on it.

    If it's too much to explain in a post on the forum, I'd be willing to pay someone to set up properly and to explain so that I can repeat on my own $50.

    But here's what I'm trying to do.

    Presentation of multiple forms with single submit button.

    I need to create many many forms, so rather than repeat the basics (details and company info)

    I would just be able to manufacture PARTS of form and then build forms much faster this way.

    The forms I created are for various applications.

    I use the personal and professional contacts as the first 2 examples, but I'm going ELSEWHERE, I also understand according to the form.

    So just keep in mind these are examples.

    The point is that each PARTY is a separate form.

    The reason clear to achieve is to save time, many similar applications that I need to do the construction.

    Example 1

    Form of home insurance

    SECTION A - personal information

    PART H - home (s) address

    PART F - personal fire and alarm information

    PART C - the previous insurance issues and cancellation insurance

    ----------------

    submit button: supports all 4 forms above

    Example 2

    The company insurance form

    SECTION A - personal information

    PART B – business contact information

    PART D - commercial address information (what to do if several addresses?)

    PART E - business and information fire alarm

    PART C - the previous insurance issues and cancellation insurance

    --------------------

    submit button: submit all 5 forms above

    So ideally, I would need the following requirements.

    1. present the single button

    2. present the code can handle 2 or more parts not the value # specific

    3. I would prefer if it was automated code (so I don't have to change the code every time, I can simply add the parts - and also long ID # or named it will work correctly)

    4. If there is a problem with any PART stop the entire form

    5-

    A question, I had barely know is how "combine" forms a single entity so that they can change it later if necessary?

    * as turn a case, or to award to each PARTY a hidden form variable link #.

    * This is probably best handled with a webapp, Yes?

    Thanks in advance for any help.

    It's all a bit above my level of understanding of right at this moment. So, if anyone can offer help or services.

    Please let me know. I have to get rolling on this ASAP.

    * main problems I have with BC forms:

    I did a lot of work with them recently, so I get a kick of the foibles, but there is always a ton of issues and roadblocks that I meet that requires a workaround solution.

    I wish I knew how to make dynamic British Colombia forms, because the BC is not a data source for multiple selection option, we must create a webapp connection to combine everything.

    Unless there is another way to combine multiple forms, I guess that's what about this discussion/issue together.

    So thank you once again.

    Are you ok with BC being unable to report on the data of the form? Rather than having the fields map to a client-server, you could serialize the form data (in JSON format, perhaps) and submit the entire form in a single field in a form BC, or an element of the Webapp.

    This would allow the form fields to be as dynamic as you can imagine. you will be not restricted to use only the form fields that have been declared in the admin.

    You have to take care around the diagram, because BC does not have an influence or support for that. It also means that when you want to display the data, you will need to go through your own deserializer. In addition, there are length limits to keep in mind.

Maybe you are looking for