Repeating Table or Modal dialog box - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Repeating Table or Modal dialog box

Last post 01-27-2007 08:49 AM by maddy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-25-2007 06:23 AM

    • maddy
    • Not Ranked
    • Joined on 01-25-2007
    • Posts 15

    Repeating Table or Modal dialog box

    Hi,
    I have 10 fields to enter Product details by the user. And users can add as many no.of Products.
    Since it is not fitting in a single row in a Repeating table, I thought of having a Modal dialog box, which is used in JavaScript.
    When I trigger Add Product button,
    XDocument.UI.ShowModalDialog("..), it gives Permission denied error.
    And if I use window.open, it gives window not defined.

    In the Modal dialogbox, I want to populate all these fields and upon submit, data needs to be appended to the parent window in Repeating Table.
    Also, I need one check box appened for each row in the repeating table and upon selection of any row(s), users can hit Delete button and those checked rows will be deleted.

    How to handle above situation?
    Please advice some workarounds/tricks.

    thank you.

    with rgds,
    Dev Reddy
  • 01-26-2007 06:57 AM In reply to

    Re: Repeating Table or Modal dialog box

    Hello Dev and welcome to forums,
    Did you come across Master/Detail control in InfoPath? You can use Master/Detail control where in you can have important fields in Master table and all the remaining fields in Detail section. It is a repeating field and when you select one row in Master table related data will be displayed in Detail section. You can also have a check box in each row of the Master table selecting which and clicking on Delete button the rows can be deleted but you will have to write some code for delete button

    Hope this helps!
  • 01-27-2007 08:49 AM In reply to

    • maddy
    • Not Ranked
    • Joined on 01-25-2007
    • Posts 15

    Re: Repeating Table or Modal dialog box

    Thanks Shailaja for the response.
    I am new to InfoPath and not aware of those master table.
    Is there any ready made code available for delete row?

    Also, once the form is submitted, using a .Net web service, it will create/update in Oracle tables.

    Any help is greatly appreciated.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.