PerfectForms Forums » General

Open Closed Form Instance

(5 posts)
  1. rooman
    Member

    Hi,
    I have one simple form with 2 stages.Form Instance name is set to 'empid'.Form completes its flow and is closed.Its all working fine.Now how can i open that closed form intance in any other form,lets say on 'Press Button Behaviour',just to view,depending on that particular 'empid',if current form is having text input object holding same 'empid'.

    thnx

    Posted 2 years ago #
  2. ijobling
    Member

    the stage of the form is not important. Just set up a forms connection and then a connect action on your second form where the 'send parameter' is set to the 'empid' field.
    refer here for information on how to integrate with other forms

    http://www.perfectforms.com/Documentation/manual/html/d_connectionsintegration.htm

    Posted 2 years ago #
  3. rooman
    Member

    Hi,
    I followed your instructions but i couldnt do it.

    Let me re-write in steps,
    1- Two forms Sample Form 1 and Sample Form 2.

    2- Sample Form 1 is fetching data from DB using 'New Form Connection' connection and 'Sample Form Action'action,where 'EmpId' is Send Parameters and 'EmpName' is Return Parameters.

    3- A instance is created and form is in its closed stage.

    4- Sample Form 2 is doing the same job.i.e fetching data from DB using same connection and same action.

    5- A 'New Form Connection' is created and Form: Sample Form 1 is selected.A 'New Form Action' is created where send parameter is 'EmpId' and return patameter is 'EmpName'.It is tested and working fine.

    Now a button View is created with 'On Press Button' behavior.A Connect integration command is used and 'Connection:New Form Connection and Action:New Form Action' are used.Again Send parameter is empid from a mask text input object and return parameter is name text input object.

    Now what i want is just to open form instance,instance created by Sample Form 1, depending on empid given on Sample Form 2.

    Thnx.
    Regards,

    Posted 2 years ago #
  4. ijobling
    Member

    you want to OPEN sample form 1 from sample form 2 ? is that what you mean ?
    if so, then you will need to treat this differently. in your 'connection' return as well the form instance ID to a hidden field on your form (see here to ensure you know what this is : http://www.perfectforms.com/Documentation/manual/html/dont_confuse_instance_id_with_.htm) and then use that in the ShowForm behaviour action to launch the actual form

    PS in future , please consiuder using the support ticket for such things where you can also include screen shots that will help explain what you are trying to do a lot easier

    Posted 2 years ago #
  5. rooman
    Member

    hi,
    done it by using instance id.
    thnx

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture