Popup selection box in Designer form

I'm new to Adobe Designer (we're using v7.0) and have a question. I've
designed an Adobe e-form that has a CLASSIFICATION text field area.
When the user clicks the CHANGE button I want a window to popup that
presents a lists of classifications the user can choose from and when
they confirm the CLASSIFICATION text field will be updated. I know how
to do this in HTML but is this same thing possible in an Adobe e-form.
The e-form will be distributed via e-mail and saved locally. Then the
user will edit the e-form using Adobe Acrobat. I'm mentioning this
because, from what I've read about Designer, that might make a
difference. I'm using Javascript for the object event callbacks.

It's possible, but this is some pretty advanced stuff. Take a look at the Dialog class in the Acrobat JavaScript Reference. There's some sample script starting at page 102 too.
Chris
Adobe Enterprise Developer Support

Similar Messages

  • Multiple Select boxes in one form

    Does anyone know if it is possible to have multiple select
    boxes inside one form? I have six different select boxes that are
    generated by six separate queries. The action page for all six
    select boxes is the same so I just want one submit button so users
    don't get confuse. I don't want to cluster up the page with submit
    buttons but I may resort to that option.
    My problem is the select boxes generate a number and when
    that number is submitted I want to pass two other variables with it
    to the action page. I tried putting a "Form" tag around the 6
    select boxes. Inside each select box I tried to add an "Input
    type="hidden"" and give thte name and values that I needed. That
    worked for the first select box but when I tried the second select
    box it used the hidden values for the first select box.
    If anyone can help, I would greatly appreciate it. Or if you
    have any other suggestions I am open to any.
    Thanks

    Paross1,
    I wasn't thinking about that and you gave me a great idea.
    Here is how I changed my select boxes.
    <cfform
    action="Resolution_History.cfm?year=#year#&sessiontype=#sessiontype#&btype=res"
    name="form">
    <select name="SRINPUT">
    <option value="">SR
    <CFOUTPUT Query="findSR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HRINPUT">
    <option value="">HR
    <CFOUTPUT Query="findHR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SCRINPUT">
    <option value="">SCR
    <CFOUTPUT Query="findSCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <br>
    <select name="HCRINPUT">
    <option value="">HCR
    <CFOUTPUT Query="findHCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SJRINPUT">
    <option value="">SJR
    <CFOUTPUT Query="findSJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HJRINPUT">
    <option value="">HJR
    <CFOUTPUT Query="findHJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <INPUT TYPE="Submit" VALUE="Submit" alt="submit
    button">
    </cfform>
    On the action page I need the below IF statement to work so
    it will set the variables. It isn't working at this time. Its not
    bringing the values of billnumber, houseorig or the billtype.
    Do you have any thoughts? I know it is close. I need to set
    all of the inputs to input4 to generate my queries.
    <cfif form.srinput gt 0>
    <cfset houseorig eq "s">
    <cfset billtype eq "r">
    <cfset srinput eq input4>
    <cfelseif form.hrinput gt 0>
    <cfset houseorig eq "h">
    <cfset billtype eq "r">
    <cfset hrinput eq input4>
    <cfelseif form.scrinput gt 0>
    <cfset houseorig eq "sc">
    <cfset billtype eq "r">
    <cfset scrinput eq input4>
    <cfelseif form.hcrinput gt 0>
    <cfset houseorig eq "hc">
    <cfset billtype eq "r">
    <cfset hcrinput eq input4>
    <cfelseif form.sjrinput gt 0>
    <cfset houseorig eq "sj">
    <cfset billtype eq "r">
    <cfset sjrinput eq input4>
    <cfelse>
    <cfset houseorig eq "hj">
    <cfset billtype eq "r">
    <cfset hjrinput eq input4>
    </cfif>

  • How can i fill selection box on html form with data on the clientside?

    hi
    i want to make a html form that reads option values from the client.
    Because there are too many data, it's not reasonable for me to design a page which connects to server each time to fill the selection boxes.Instead i want to check if data resides at the clientside, if so fill selection boxes with that data, if not download it for the first time and store it on the client for later local retrieval.In addition i must be able to update that data residing on the client when i want.

    Don't see where Java comes into this. Sounds like you'd be using JavaScript on the client.
    A cookie would probably be the only way to save data on the client.

  • Two select box in a form in JSP...Save me...Please

    Hi,
    My jsp page has one form with two different select/option. One select is fbox and another is tbox. tbox contains master values from db and fbox contanis some/few/no values from db.(It might be empty.) Now, I want to add a value from tbox to fbox. If that value is already in fbox then ALERT otherwise add in that value in fbox. Following is the code for that.
    Would somebody help me out ? I don't know what's wrong with this code. It's not working............It's kind of serious and urgent.
    function add(fbox,tbox) {
    var i = 0;
    if(fbox.value != "") {
    var no = new Option();
    for(var i=0; i < tbox.options.length; i++)
    if((fbox.value == tbox.options.value) || (fbox.value == tbox.options[i].text))
    alert("Value is already added. Select another item.");
    break;
    else
    no.value = fbox.value;
    no.text = fbox.value;
    tbox.options[tbox.options.length] = no;
    fbox.value = "";
    else
    alert("Please enter an item.");

    Hi Srinath or anybody,
    Would u pl. tell me what's wrong with following code ? Javascript prompt is not invoking....U can see/find javascript function addservice(service) in my code which is called by JSP code inside in my form...
    I am using Tomcat 3.3, Jdeveloper 3.2, IE 6.0 and Netscape 7.0.
    I am badly working on this but Javascript prompt is not working....
    Thanks for ur time and help...
    Waiting for ur reply.
    David
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <%@page language= "java" import= "java.sql.*,sun.jdbc.rowset.*,javax.servlet.http.*,java.lang.reflect.*,java.io.*,java.util.*,javax.servlet.*"
    errorPage="error.jsp" %>
    <jsp:useBean id="conn" class="package1.connectionBean" scope="session"/>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    </HEAD><center>
    <BODY>
    <script language="javascript" SRC="FormChek.js"></script>
    <script language="javascript">
    function CheckFstock(ftock) {
    var Gooddigit = "0123456789";
         if (document.formtest.ftock.value.length > 3 )
              alert('Invalid Stock ! Please re-enter with less than equal to 3 digits.');
              return false;
         }// if ends
    function CheckPostal(postal) {
         var valid = 1;
         var GoodChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
         var Gooddigit = "0123456789";
         var Goodextrs = "- ";
         var i = 0;
         if (document.formtest.postal.value == "")
              // Return false if number is empty or length is not 7 length is not 6
              alert('Invalid Postal Code ! Please re-enter now.');
              valid = 0;
    document.formtest.postal.focus();
              return false;
         }//if ends
         else if(document.formtest.postal.value.length == 7)
              //alert (GoodChars.indexOf(document.formtest.postal.value.charAt(0)));
              for (i =0; i <= document.formtest.postal.value.length; i++)
                   //alert( i + "->"+ document.formtest.postal.value.charAt(0))
                   if ((GoodChars.indexOf(document.formtest.postal.value.charAt(0)) == -1) || (GoodChars.indexOf(document.formtest.postal.value.charAt(2)) == -1) || (GoodChars.indexOf(document.formtest.postal.value.charAt(5)) == -1))
                        alert("Not Valid Chacters in entered Postal Code! Please re-enter now.");
                        valid = 0;
    document.formtest.postal.focus();
                        return false;
                   } // if ends
                   if ((Gooddigit.indexOf(document.formtest.postal.value.charAt(1)) == -1) || (Gooddigit.indexOf(document.formtest.postal.value.charAt(4)) == -1) || (Gooddigit.indexOf(document.formtest.postal.value.charAt(6)) == -1))
                        alert("Not Valid digits in entered Postal Code! Please re-enter now.");
                        valid = 0;
    document.formtest.postal.focus();
                        return false;
                   } // if ends
                   if (Goodextrs.indexOf(document.formtest.postal.value.charAt(3)) == -1)
                        alert("Not Valid extras in entered Postal Code! Please re-enter now.");
                        valid = 0;
    document.formtest.postal.focus();
                        return false;
                   } // if ends
              } // for ends
         }// else if ends
         else if(document.formtest.postal.value.length == 6)
              for (i =0; i <= document.formtest.postal.value.length; i++)
                   if ((GoodChars.indexOf(document.formtest.postal.value.charAt(0)) == -1) || (GoodChars.indexOf(document.formtest.postal.value.charAt(2)) == -1) || (GoodChars.indexOf(document.formtest.postal.value.charAt(4)) == -1))
                        alert("Not Valid Chacters in entered Postal Code! Please re-enter now.");
                        valid = 0;
    document.formtest.postal.focus();
                        return false;
                   } // if ends
                   if ((Gooddigit.indexOf(document.formtest.postal.value.charAt(1)) == -1) && (Gooddigit.indexOf(document.formtest.postal.value.charAt(3)) == -1) && (Gooddigit.indexOf(document.formtest.postal.value.charAt(5)) == -1))
                        alert("Not Valid digits in entered Postal Code! Please re-enter now.");
                        valid = 0;
    document.formtest.postal.focus();
                        return false;
                   } // if ends
              } // for ends
         }// else if ends
         else { alert('Postalcode is not 7 or 6 charactres long ! Please  re-enter now.');
    document.formtest.postal.focus();
    }//else ends
         return valid
    }//this function ends
    function goback() {
    history.go(-1);
    function addItem(fbox,tbox)
    var boxLength = tbox.length;
    var selectedItem = document.formtest.list1.selectedIndex;
    var selectedText = fbox.options[selectedItem].text;
    var selectedValue =fbox.options[selectedItem].value;
    var j;
    var isNew = true;
    //alert('BOx Length is : ' + boxLength);
    if (boxLength != 0)
    for (j = 0; j < boxLength; j++)
    thisitem = tbox.options[j].text;
    if (thisitem == selectedText)
    isNew = false;
    alert("Selected value is already available. Please select a different item");
    break;
    if (isNew)
    newoption = new Option(selectedText, selectedValue, false, false);
    tbox.options[boxLength] = newoption;
    fbox.selectedIndex=-1;
    function remove(box) {
    if (confirm("Are you sure you want to delete. Continue?")) {
    for(var i=0; i<box.options.length; i++) {
    if(box.options.selected && box.options[i] != "") {
    box.options[i].value = "";
    box.options[i].text = "";
    BumpUp(box);
    function BumpUp(abox) {
    for(var i = 0; i < abox.options.length; i++) {
    if(abox.options[i].value == "") {
    for(var j = i; j < abox.options.length - 1; j++) {
    abox.options[j].value = abox.options[j + 1].value;
    abox.options[j].text = abox.options[j + 1].text;
    var ln = i;
    break;
    if(ln < abox.options.length) {
    abox.options.length -= 1;
    BumpUp(abox);
    function Moveup(dbox) {
    for(var i = 0; i < dbox.options.length; i++) {
    if (dbox.options[i].selected && dbox.options[i] != "" && dbox.options[i] != dbox.options[0]) {
    var tmpval = dbox.options[i].value;
    var tmpval2 = dbox.options[i].text;
    dbox.options[i].value = dbox.options[i - 1].value;
    dbox.options[i].text = dbox.options[i - 1].text
    dbox.options[i-1].value = tmpval;
    dbox.options[i-1].text = tmpval2;
    function Movedown(ebox) {
    for(var i = 0; i < ebox.options.length; i++) {
    if (ebox.options[i].selected && ebox.options[i] != "" && ebox.options[i+1] != ebox.options[ebox.options.length]) {
    var tmpval = ebox.options[i].value;
    var tmpval2 = ebox.options[i].text;
    ebox.options[i].value = ebox.options[i+1].value;
    ebox.options[i].text = ebox.options[i+1].text
    ebox.options[i+1].value = tmpval;
    ebox.options[i+1].text = tmpval2;
    function dosubmit() {
    for ( var i = 0; i < document.formtest.list2.length; i++ )
    document.formtest.list2.item(i).selected = true;
    for ( var i = 0; i < document.formtest.service.length; i++ )
    document.formtest.service.item(i).selected = true;
    function addservice(service) {
    var defaultSelected = true;
    var selected = true;
    //alert('Here');
    var input_box = prompt("Enter some text","");
    //alert(input_box);
    if(input_box != "")
    var optionName = new Option(input_box,input_box,false,false);
    var length = service.length;
    service.options[length] = optionName;
    else
    alert("Service should not be empty ! Write Something.");
    </script>
    <form name="formtest" METHOD="POST" onSubmit="dosubmit()">
    <% String sql;
    sql = "SELECT LINEID, DESCRIP from PURCHVENDOR.AUTOLINE";
    ResultSet results = conn.executeQuery(sql);
    %>
    <TABLE BORDER="1">
    <TR>
    <TD>Code/Type</TD>
    <TD><INPUT TYPE="TEXT" NAME="vcode" SIZE="38">
    <select name="tp">
    <option value="S">Standard</option>
    <option value="A">Aftermarket</option>
    </select>
    </TD>
    </TR>
    <TR>
    <TD>Vendor Name</TD>
    <TD><INPUT TYPE="TEXT" name="vname" SIZE="54"></TD>
    </TR>
    <TR>
    <TD>Contact Name</TD>
    <TD><INPUT TYPE="TEXT" name="cname" SIZE="54"></TD>
    </TR>
    <TR>
    <TD>Address</TD>
    <TD><INPUT TYPE="TEXT" name="address" SIZE="54"></TD>
    </TR>
    <TR>
    <TD>P.O.Box</TD>
    <TD><INPUT TYPE="TEXT" name="POBox" SIZE="54"></TD>
    </TR>
    <TR>
    <TD>City</TD>
    <TD><INPUT TYPE="TEXT" name="city" SIZE="54"></TD>
    </TR>
    <TR>
    <TD>Province/Postal</TD>
    <TD>
    <INPUT TYPE="TEXT" name="province" SIZE="25" onChange="checkStateCode(this)">
    <INPUT TYPE="TEXT" name="postal" SIZE="25" onChange="CheckPostal(this)"></TD>
    </TR>
    <TR>
    <TD>Phone Number</TD>
    <TD><INPUT TYPE="TEXT" NAME="pnumber" SIZE="54" onChange="checkUSPhone(this)"></TD>
    </TR>
    <TR>
    <TD>Fax Number</TD>
    <TD><INPUT TYPE="TEXT" name="fnumber" SIZE="54" onChange="checkUSPhone(this)"></TD>
    </TR>
    <TR>
    <TD>Fee Stock/Factory</TD>
    <TD><INPUT TYPE="TEXT" name="ftock" SIZE="25">
    <INPUT TYPE="TEXT" name="ffactory" SIZE="25">
    </TD>
    </TR>
    <TR>
    <TD>Prefered Vendor</TD>
    <TD><input type="radio" value="1" name="choice" Checked>Yes
    <input type="radio" value="2" name="choice">No
    </TD>
    </TR>
    <TR>
    <TD>Line Carried</TD>
    <TD><select multiple size="5" name="list1" >
    <%
    while(results.next())
    %>
    <OPTION value = "<%= results.getString("lineid")%>"><%= results.getString("lineid")%></OPTION>
    <%
    %>
    </select>
    <input type=button value="Add" onclick = "javascript:addItem(this.form.list1,this.form.list2);"</input>
    <select multiple size="5" name="list2"></select>
    <input type=button value="Delete" onclick = "javascript:remove(this.form.list2);"</input>
    </TD>
    </TR>
    <TR>
    <TD>Service</TD>
    <TD>
    <select multiple size="5" name="service"></select>
    <input type=button value="Add Service" onclick = "addservice(formtest.service);"</input>
    <input type=button value="Delete Service" onclick = "javascript:remove(this.form.service);"</input>
    </TD>
    </TR>
    </TABLE>
    <P><INPUT TYPE="SUBMIT" VALUE="Add" onClick="document.formtest.action='addvpdb.jsp';"</input>
    <INPUT TYPE="SUBMIT" VALUE="Cancel" onClick="document.formtest.action='vendormain.jsp';"</input>
    <!-- <INPUT TYPE="SUBMIT" VALUE="Cancel" onClick= "goback()"</input> -->
    </P>
    </center>
    </form>
    </BODY>
    </HTML>

  • How to populate select boxes in custom work flows?

    We are trying to create a workflow that allows users to select a few item details from a select box inside the form. I created the select box but I can't figure out how to populate it with elements. I've been reluctant to post here because this question seems so straight forward but I haven't been able to find the answer and don't want waste more time searching for this answer. Please help!
    Thanks,
    Richard

    Sorry for the trouble, I found the answer. I was looking in all the wrong places. Thanks anyway!
    Richard

  • Add form fields dynamically onchange of a select box.

    I have a JSP page with a <h:form>:
    <h:form id="registrationForm">
         <h:outputText value="#{Resource.EmailAddress}" /><br />
         <h:inputText label="E-mail Address" id="emailAddress" value="#{RegistrationBean.emailAddress}" required="true" requiredMessage="#{Resource.RequiredError}">
              <f:validator validatorId="EmailValidator" />
         </h:inputText><br />
         <h:message for="emailAddress" styleClass="error" /></td>
         Select age range<br />
         <h:selectOneMenu id="ageRange" value="#{RegistrationBean.ageRange}" valueChangeListener="#{RegistrationBean.updateComponents}" onchange="javascript: return submit()">
              <f:selectItems value="#{RegistrationBean.ageRangeValues}" />
         </h:selectOneMenu><br />
         <h:commandButton id="submit" value="#{Resource.Submit}" />
    </h:form>When the user changes the value for the ageRange select box, the form gets submitted through the following JavaScript:
    function submit() {
         document.forms[0].submit();
         return true;
    }Then the ValueChangeListener defined in a backing bean for the ageRange select box gets called:
    public void updateComponents(ValueChangeEvent e) {
         // Generate components automatically
    }What I want is, when the user changes the value of the ageRange select box, the valueChangeListener should generate a few new text fields in the form and the validator for the e-mail address field shouldn't get called. The validator for the email-address field should only get called once the user clicks on the Submit button.
    Any help or pointers will be greatly appreciated.

    You can find here lot of pointers: http://balusc.blogspot.com/2007/10/populate-child-menus.html

  • I want to make sure a check box is selected before allowing a form to be closed.

    I want to make sure that a check box is selected before allowing the form to be closed in X Std.  I have set the field as a required field but want to make sure that whoever fills in the form cannot exit, print or save without first ticking the box.  How do I do this?

    There is no way to prevent those actions. The best you can do is alert the user just before any of those things happen.

  • Populate Form using select box..

    I know someone has to be doing this but I haven't found them
    yet. I want my user to select a company from my select box and have
    the form popultate with its related information... WITHOUT
    refreshing the page. I looking for examples so if anyone has one I
    would greatly appreciate it.
    werd...
    Calvin Click

    Dan Bracuk wrote:
    > I think you can do it with cold fusion and javascript
    only. The concept would
    > be.
    >
    > Step 1 - run a query that selects all the data you will
    need to populate the
    > form fields.
    >
    > Step 2 - convert each query column to a js array.
    >
    > Step 3 - write a js function so that when the nth item
    is selected in the drop
    > down, the nth item from the other arrays go into the
    form fields.
    >
    > It's a similar concept to related selects.
    >
    This is definitely a possible solution, if it is acceptable
    to download
    all those JS arrays.
    This greatly depends on how large they are and what type of
    network
    connections are being used. I.E. one can get away with more
    for an
    application running on a corporate intranet with high
    capacity network
    connections as apposed to a application that must work
    acceptably for
    the poor soul in the backwoods home that still relies on a
    56K modem
    over copper phone lines to access the internet.
    Yes those people still exist, and sometime applications need
    to be
    written with them in mind.

  • Auto select with select box

    Hi
    I have a site which has 8 services.each service has it own
    page. When the user goes to the service page there will be a link
    which will take them to a form. I want the form to be able to
    identify which service is there and select that one automatically.
    I have done this previously but only with a form. Can you
    please help me to fix this.
    Link on service page
    <a href="moreinfo.cfm?service=WorkGroup Consultancy">Click
    here for Further Information</a>
    select box in form
    <select name="service">
    <option value="UK Immigration" <cfif
    structKeyExists(form,"UK Immigration") AND form.service eq
    "WorkGroup Consultancy">selected="selected"</cfif>>UK
    Immigration</option>
    <option <cfif structKeyExists(form,"WorkGroup
    Consultancy") AND form.service eq "WorkGroup
    Consultancy">selected="selected"</cfif>value="WorkGroup
    Consultancy">WorkGroup Consultancy</option>
    <option value="Legal Managment Software" <cfif
    structKeyExists(form,"Legal Managment Software") AND form.service
    eq "Legal Managment
    Software">selected="selected"</cfif>>Legal Managment
    Software</option>
    <option value="Search Engine Optimization" <cfif
    structKeyExists(form,"Search Engine Optimization") AND form.service
    eq "Search Engine
    Optimization">selected="selected"</cfif>>Search Engine
    Optimization</option>
    <option value="Marketing Consultancy" <cfif
    structKeyExists(form,"Marketing Consultancy") AND form.service eq
    "Marketing
    Consultancy">selected="selected"</cfif>>Marketing
    Consultancy</option>
    <option value="Project Management" <cfif
    structKeyExists(form,"Project Management") AND form.service eq
    "Project Management">selected="selected"</cfif>>Project
    Management</option>
    <option value="Training" <cfif
    structKeyExists(form,"Training") AND form.service eq
    "Training">selected="selected"</cfif>>Training</option>
    <option value="Web Design"<cfif
    structKeyExists(form,"Web Design") AND form.service eq "Web
    Design">selected="selected"</cfif>>Web
    Design</option>
    </select>

    I have tried both was and still cannot get it to work. Please
    shwo me the correct way to do this
    <cfselect name="service" selected="#url.service#">
    <option value="UK Immigration" >UK
    Immigration</option>
    <option value="WorkGroup Consultancy">WorkGroup
    Consultancy</option>
    <option value="Legal Managment Software" >Legal
    Managment Software</option>
    <option value="Search Engine Optimization" >Search
    Engine Optimization</option>
    <option value="Marketing Consultancy" >Marketing
    Consultancy</option>
    <option value="Project Management">Project
    Management</option>
    <option value="Training" >Training</option>
    <option value="Web Design">Web Design</option>
    </cfselect>
    And the other way
    option value="UK Immigration" <cfif structKeyExists(URL,"UK
    Immigration") AND url.service eq "WorkGroup
    Consultancy">selected="selected"</cfif>>UK
    Immigration</option>
    <option <cfif structKeyExists(url,"WorkGroup
    Consultancy") AND url.service eq "WorkGroup
    Consultancy">selected="selected"</cfif>value="WorkGroup
    Consultancy">WorkGroup Consultancy</option>
    <option value="Legal Managment Software" <cfif
    structKeyExists(url,"Legal Managment Software") AND url.service eq
    "Legal Managment
    Software">selected="selected"</cfif>>Legal Managment
    Software</option>
    <option value="Search Engine Optimization" <cfif
    structKeyExists(url,"Search Engine Optimization") AND url.service
    eq "Search Engine
    Optimization">selected="selected"</cfif>>Search Engine
    Optimization</option>
    <option value="Marketing Consultancy" <cfif
    structKeyExists(url,"Marketing Consultancy") AND url.service eq
    "Marketing
    Consultancy">selected="selected"</cfif>>Marketing
    Consultancy</option>
    <option value="Project Management" <cfif
    structKeyExists(url,"Project Management") AND url.service eq
    "Project Management">selected="selected"</cfif>>Project
    Management</option>
    <option value="Training" <cfif
    structKeyExists(url,"Training") AND url.service eq
    "Training">selected="selected"</cfif>>Training</option>
    <option value="Web Design"<cfif
    structKeyExists(url,"Web Design") AND url.service eq "Web
    Design">selected="selected"</cfif>>Web
    Design</option>

  • Share Data between Pro and Designer Form

    Good evening,
    Old Form:
    I recently inherited an adobe pro form created a few years ago. The naming conventions are horrible, and they refuse to replace the form to spit out an xml file. But they want the data to fill into an access database.
    New Form:
    I was able to create an adobe designer form, with proper naming conventions, that exports an xml file that can be imported into the access database.
    Help:
    Is there a way to link the old form data to the new form, with the naming conventions being different?
    Ideally, id like to create a button that will display a dialog box to select the old form and import the data without converting to an xml first…is this possible?
    Thanks in advance!

    Hello Pieter,
    Ok, it sounds like you are asking about 5 different things here.  Let me break them up and respond individually.
    There is no overhead inherent to using a MathScript node on RT.  Since the MathScript code is implemented on top of LabVIEW code, there will be varying levels of performance with respect to a native LabVIEW implementation, but simply having the node itself does not cause any overhead.
    On a Windows platform (or other desktop platform), the answer is the same: the node does not introduce any overhead into your algorithm.
    If you use the application builder to create a compiled program that uses the run-time engine, you are no longer able to change the .m file.  Or, to be a little more technically accurate, the LabVIEW run-time engine does not have a compiler.  Thus, you can change the .m file all you want, but the actual .m file that is used by your built application is the version that was present when you built the application.
    The behavior you observe with MathScript executing new code will only happen if you are running a VI with the full development version of LabVIEW.  We need the LabVIEW compiler in order to generate new code when you update a .m file and this is only present with the full development version of LabVIEW.
    The search path is only necessary when you are developing your VI on the host.  You can set a search path by right-clicking on "My Computer" in your project, choosing Properties, and then "MathScript: Search Paths."  Note: your VI will need to be in the "My Computer" target to locate your .m file.  After you have created your MathScript node, you can drag the VI to the target.  You are correct that the .m file is compiled when the program is deployed and you do not need to transfer the .m file to the target.
    Grant M.
    Staff Software Engineer | LabVIEW MathScript | National Instruments

  • Wanted a popup text box

    Hi all,
    I want a popup text box.
    My logic is like this:
    when ever i select one record and press pushbutton which is located at application toolbar, than one popup text box must display so that they will write some reason for that action and that reason must save in the "ZTABLE".
    thanking u...
    regards,
    giri.

    Hi, See this. it is usefull for you as per your requirement.
    Step 1. you have to create text object using SE75.
    Step 2. follow below program of text box editor.
    step 3. call this editor function when user press button.
    Step 4 .you need to create screen as per program for container.
    program is:
    *& Module pool       ZEDITOR1
    *& Program to Read text, edit text and save text using editor screen
    *& For this program create sap script object using SE75
    PROGRAM  ZEDITOR1.
    *Varriable declaration
    DATA: G_CONTAINER1 TYPE SCRFNAME VALUE 'TEXT' ,
          TEXT1  TYPE REF TO CL_GUI_TEXTEDIT , " declaration to create object
          G_CUSTOM_CONTAINER1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER .
    CONSTANTS: LINE_LENGTH TYPE I VALUE 256.
    DATA: OK_CODE LIKE SY-UCOMM.
    DATA : ED_NAME   LIKE  THEAD-TDNAME ,
           ED_OBJECT LIKE  THEAD-TDOBJECT ,
           ED_HEADER LIKE  THEAD ,
           ED_LINES  LIKE  TLINE OCCURS 0 WITH HEADER LINE ,
           ED_TITLE  LIKE  TTXIT-TDTEXT .
    CONSTANTS: C_LINE_LENGTH TYPE I VALUE 256.
    define table type for data exchange
    TYPES: BEGIN OF MYTABLE_LINE,
             LINE(C_LINE_LENGTH) TYPE C,
           END OF MYTABLE_LINE.
    table to exchange text
    DATA : G_MYTABLE TYPE TABLE OF MYTABLE_LINE.
    DATA : G_WA LIKE  LINE OF  G_MYTABLE.
    DATA:ZSR(5) VALUE 'TX'.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'EDIT_100'.
    SET TITLEBAR 'xxx'.
    Initialize container of editor screen
      IF G_CUSTOM_CONTAINER1 IS INITIAL.
        CREATE OBJECT G_CUSTOM_CONTAINER1
               EXPORTING CONTAINER_NAME = G_CONTAINER1.
        CREATE OBJECT TEXT1
          EXPORTING
            PARENT = G_CUSTOM_CONTAINER1
            WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
            WORDWRAP_POSITION = LINE_LENGTH
            WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  read_text_in_editor
          text
    FORM READ_TEXT_IN_EDITOR .
      ED_NAME = ZSR.                                            "'ZTEST2'.
    ED_OBJECT = 'ZMAT' .
      ED_OBJECT = 'ZRAJ1'. "ZALOK' .
    *--- For Reading Inspection Remarks Related text
      CLEAR: ED_LINES[],ED_LINES,G_MYTABLE[],G_MYTABLE.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = '01'
          LANGUAGE                = SY-LANGU
          NAME                    = ED_NAME
          OBJECT                  = ED_OBJECT
         IMPORTING
           HEADER                  = ED_HEADER
        TABLES
          LINES                   = ED_LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
      IF ED_LINES[] IS NOT INITIAL.
        LOOP AT ED_LINES .
          G_WA-LINE = ED_LINES-TDLINE .
          APPEND G_WA TO G_MYTABLE .
          CLEAR  G_WA.
        ENDLOOP .
      ENDIF.
        PERFORM MOVE_TO_EDITOR.
    ENDFORM.                    " READ_TEXT_IN_EDITOR
    *&      Form  MOVE_TO_EDITOR
          text
    FORM MOVE_TO_EDITOR.
      CALL METHOD CL_GUI_CFW=>FLUSH
        EXCEPTIONS
          OTHERS = 1.
      CALL METHOD TEXT1->SET_TEXT_AS_R3TABLE
        EXPORTING
          TABLE  = G_MYTABLE
        EXCEPTIONS
          OTHERS = 1.
    ENDFORM.                    "MOVE_TO_EDITOR
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
      CASE OK_CODE.
        WHEN 'CLEA'.
          CLEAR: ED_LINES[],ED_LINES,G_MYTABLE[],G_MYTABLE.
          PERFORM MOVE_TO_EDITOR.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'DISP'.
          IF ZSR IS INITIAL.
            MESSAGE 'Enter Text No.' TYPE 'S'.
          ELSE.
            PERFORM READ_TEXT_IN_EDITOR .
          ENDIF.
        WHEN 'SAVE'.
          PERFORM SAVE_DATA.
      ENDCASE.
      CLEAR: OK_CODE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  SAVE_DATA
          text
    FORM SAVE_DATA .
      CALL METHOD TEXT1->GET_TEXT_AS_R3TABLE
        IMPORTING
          TABLE  = G_MYTABLE
        EXCEPTIONS
          OTHERS = 1.
      CALL METHOD CL_GUI_CFW=>FLUSH
        EXCEPTIONS
          OTHERS = 1.
      CLEAR : ED_LINES, ED_LINES[] .
      LOOP AT G_MYTABLE INTO G_WA .
        MOVE G_WA-LINE TO ED_LINES-TDLINE .
        APPEND ED_LINES .
        CLEAR  ED_LINES .
      ENDLOOP.
    ED_HEADER-TDOBJECT = 'ZMAT' .
      ED_HEADER-TDOBJECT = 'ZRAJ1'. "ZALOK' .
      ED_HEADER-TDNAME =  ZSR. "'ZTEST2'.              "ED_NAME .
    ED_HEADER-TDID = 'ZMAT'.
      ED_HEADER-TDID = '01'.
      ED_HEADER-TDSPRAS = SY-LANGU.
      ED_HEADER-TDLINESIZE = '072'.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          CLIENT          = SY-MANDT
          HEADER          = ED_HEADER
          SAVEMODE_DIRECT = 'X'
        TABLES
          LINES           = ED_LINES
        EXCEPTIONS
          ID              = 1
          LANGUAGE        = 2
          NAME            = 3
          OBJECT          = 4
          OTHERS          = 5.
      IF SY-SUBRC <> 0.
        CASE SY-SUBRC.
          WHEN '5'.
            MESSAGE E002(SY) WITH 'IPL' .
          WHEN '1'.
            MESSAGE E002(SY) WITH 'IPL1'.
        ENDCASE.
      ENDIF.
    ENDFORM.                    " SAVE_DATA

  • How to set FIX based on selection made in planning form (HP 9.2)

    Hello,
    In order to calculate new values in my business rule I have to use CREATENONMISSINGBLK ON option. But it takes too long time to complete the calculation. So, I need to set FIXes in my business rule in order to keep database selection as small as possible.
    Is there any possibility to pass page selections prom planning data form to my custom business rule?
    For example form:
    Columns: Period
    Rows: Account
    Page: Year, Entity, Version, CustomDimension
    In my rule a need to set following fixes:
    Account: Custom fixed List
    Period: Custom fixed List
    Year: Custom fixed List
    Entity: Get one values selected in data form
    Version: Get one values selected in data form
    CustomDimension Get one values selected in data form
    OR
    is it possible to set default values for Run-time prompts to be equal to selected members in page dimensions?
    Thanks.
    Message was edited by:
    MaxDyug

    Hi,
    You can set up variables in your business rules so for example,
    Create Variable rtVersion, set it as Type member and dimension Version and Usage-Type as "Run-Time Prompt".
    Then in your business rule code you refer to the variable using [rtVersion]
    Now in planning the design of the form when you choose the properites for the business rule make sure "Use Members on Data Form" is ticked, and run on save.
    Now when the form is saved a pop up window will appear passes the selected version member into the run time prompt text box, this will then be passed into your business when submitted.
    You can also hide prompts if you want it be sent directly into the business rule without any user intervention.
    Hope this helps.
    Cheers
    John

  • How to fill selection box with clientside data?

    i want to make a html form that reads option values from the client.
    Because there are too many data, it's not reasonable for me to design a page which connects to server each time to fill the selection boxes.Instead i want to check if data resides at the clientside, if so fill selection boxes with that data, if not download it for the first time and store it on the client for later local retrieval.In addition i must be able to update that data residing on the client when i want.

    Hi,
    I can tell you some hints. Use cookies to store the information on to the client-side. You can read data from cookies using JavaScript. If you want to store huge amount of data on to the client-side, perhaps this would not be a better idea. In J2EE architecture we often use sessions to store values. You need to design your implementation in such a way that for the first time you fetch all the values from the database and put it in a session, and the next time onwards you can get the values from the session itself and thereby you can avoid going to database each and everytime. Write a Java class which has all the necessary get and set methods and store the object in the session. Using that object reference you can set and get the values from it. I hope this will help you.
    Thanks

  • Multiple Selects in a single form

    I have six select boxes and I want them in a single form.
    Below are the outputs for the select boxes.
    <cfform
    action="Resolution_History.cfm?year=#year#&sessiontype=#sessiontype#&btype=res"
    name="form">
    <select name="SRINPUT">
    <option value="">SR
    <CFOUTPUT Query="findSR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HRINPUT">
    <option value="">HR
    <CFOUTPUT Query="findHR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SCRINPUT">
    <option value="">SCR
    <CFOUTPUT Query="findSCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <br>
    <select name="HCRINPUT">
    <option value="">HCR
    <CFOUTPUT Query="findHCR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="SJRINPUT">
    <option value="">SJR
    <CFOUTPUT Query="findSJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <select name="HJRINPUT">
    <option value="">HJR
    <CFOUTPUT Query="findHJR"><Option
    Value="#BILLNUMBER#">#BILLNUMBER#</cfoutput>
    </select>
    <INPUT TYPE="Submit" VALUE="Submit" alt="submit
    button">
    </cfform>
    Once a user selects a number it will send them to an action
    page. On the action page I need the below IF statement to work so
    it will set the variables. It isn't working at this time. Its not
    bringing the values of billnumber, houseorig or the billtype.
    Does anyone have any thoughts? I know it is close to working
    and I need to set all of the inputs to input4 to generate my
    queries so I don't have to duplicate them.
    <cfif form.srinput gt "0">
    <cfset s = '#houseorig#'>
    <cfset r = '#billtype#'>
    <cfset input4 = '#srinput#'>
    <cfelseif form.hrinput gt "0">
    <cfset h = '#houseorig#'>
    <cfset r = '#billtype#'>
    <cfset input4 = '#hrinput#'>
    <cfelseif form.scrinput gt "0">
    <cfset s = '#houseorig#'>
    <cfset cr = '#billtype#'>
    <cfset input4 = '#scrinput#'>
    <cfelseif form.hcrinput gt "0">
    <cfset h = '#houseorig#'>
    <cfset cr = '#billtype#'>
    <cfset input4 = '#hcrinput#'>
    <cfelseif form.sjrinput gt "0">
    <cfset s = '#houseorig#'>
    <cfset jr = '#billtype#'>
    <cfset input4 = '#sjrinput#'>
    <cfelse>
    <cfset h = '#houseorig#'>
    <cfset jr = '#billtype#'>
    <cfset input4 = '#hjrinput#'>
    </cfif>

    give'em a break. he is probably under pressure (like we all
    have been). in response, i do not even see some of the variables
    you are checking in the second script in the first. get this one
    straight and i think it'll work.

  • How to create check box in tabular form

    Dear Friends
    i have craeaed tabular form .Recently all column are default text field but i want to change some column from text field to check box .
    i have try it with simple check box but there is no option to pass return value in to table.
    How to create check box in tabular from.
    select
    "CLAIM_ID",
    "CLAIM_ID" CLAIM_ID_DISPLAY,
    "EMPLOYEE_ID",
    "CLAIM_DATE",
    "START_FROM",
    "END_TO",
    "REIMB_NAME",
    "REIMB_AMOUNT",
    "REMARK",
    "ACTIVE_FLAG",
    "STATUS",
    "APPROVE_NO",
    "APPROVE_FLAG"
    from "EMP_REIMBURSEMENT_DTL
    {code}
    i want to change column from text field to Check box
    Cplumn Name :
    1.ACTIVE_FLAG Return value 'Y'
    2.STATUS Return Value "APPROVE"
    How to pass it with check box in tabular form.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Visit this demo app:
    http://apex.oracle.com/pls/otn/f?p=31517:1
    Section VI has a lot of tabular form stuff with checkbox handling.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for

  • Is it possible to make an icon for a movie on the home screen?

    Is there a way to make a direct icon for movie instead of going into the "Videos" icon? 

  • Why does Numbers suddenly not autosave. I cannot save my document as?

    I have two questions all about Numbers. I have been working a large spread sheet. I get the message that it cannot autosave. i cannot save at all. not even save as. Is this a bug in numbers or have I done something wrong? I furthermore have lost a ve

  • Updating to ios7

    After updating to ios7 the power drain on my ipadhas increased dramatically

  • Upgrading my FCP X Mac Pro

    Upgrading my FCP X Mac Pro by Michael Holmes on Jul 24, 2012 at 11:18:08 pm I shoot videos of local bands as a hobby. I have been mixing/mastering songs for these bands for 15 years, so this is a natural extension. I would like to upgrade my 2010 Mac

  • Canon Image Class MF8180c

    After a lifetime of PCs I have made the switch to an iMAC!!  I just set it up and everything is pretty easy, however, I just encountered a problem.  I have a CANON Image Class MF8180c that is a multi-function machine and less than a year old.  I have