Radio Button/Input Form Problem

Hi folks,
I have created a form which sends the inputted values as an email. The file takes a name, delivery address etc and also should allow a quantity to be input. There is also an option where a different delivery address can be specified like so:
The code looks okay, with no compiling errors, but the 'user input quantity' does not work and when changing different address, the original invoice address is showing up
Any help or pointers would be gratefully appreciated
My code looks like this:
stop();
// The display function
System.useCodepage = true;
send_btn.onRelease = function() {
     my_vars = new LoadVars();
     my_vars.designName = designName.text;
     my_vars.designPosition = designPosition.text;
     my_vars.designAddress = designAddress.text;
     my_vars.designTel = designTel.text;
     my_vars.designFax = designFax.text;
     my_vars.designMob = designMob.text;
     my_vars.designEmail = designEmail.text;
     my_vars.invoiceName = invoiceName.text;
     my_vars.invoicePosition = invoicePosition.text;
     my_vars.invoiceAddress = invoiceAddress.text;
     my_vars.invoiceTel = invoiceTel.text;
     my_vars.invoiceFax = invoiceFax.text;
     my_vars.invoiceEmail = invoiceEmail.text;
     my_vars.invoiceDate = invoiceDate.text;
     my_vars.jobNumber = jobNumber.text;
     if ("same" eq delivery.getValue) {
          my_vars.deliveryName = invoiceName.text;
          my_vars.deliveryPosition = invoicePosition.text;
          my_vars.deliveryAddress = invoiceAddress.text;
          my_vars.deliveryTel = invoiceTel.text;
          my_vars.deliveryFax = invoiceFax.text;
          my_vars.deliveryEmail = invoiceEmail.text;
     } else  {
          my_vars.deliveryName = deliveryName.text;
          my_vars.deliveryPosition = deliveryPosition.text;
          my_vars.deliveryAddress = deliveryAddress.text;
          my_vars.deliveryTel = deliveryTel.text;
          my_vars.deliveryFax = deliveryFax.text;
          my_vars.deliveryEmail = deliveryEmail.text;
     if ("other" eq quantity.getValue) {
          my_vars.quantity = quantityOther.text;
     } else {
          my_vars.quantity = quantity.getValue();
     if (my_vars.designName != "" and my_vars.designPosition != "" and my_vars.designAddress != "" and my_vars.designTel != "" and my_vars.designFax != "" and my_vars.designMob != "" and my_vars.designEmail != "" and my_vars.invoiceName != "" and my_vars.invoicePosition != "" and my_vars.invoiceAddress != "" and my_vars.invoiceTel != "" and my_vars.invoiceFax != "" and my_vars.invoiceEmail != "" and my_vars.invoiceDate != "" and my_vars.jobNumber != "" and my_vars.deliveryName != "" and my_vars.deliveryPosition != "" and my_vars.deliveryAddress != "" and my_vars.deliveryTel != "" and my_vars.deliveryFax != "" and my_vars.deliveryEmail != "" and my_vars.quantity != "") {
          my_vars.sendAndLoad("mailer.php", my_vars, "POST");
          gotoAndStop(2);
     } else {
          error_clip.gotoAndPlay(2);
     my_vars.onLoad = function() {
          gotoAndStop(3);
name1.onSetFocus = Position.onSetFocus = address.onSetFocus = telephone.onSetFocus=fax.onSetFocus=Mob.onSetFocus = email.onSetFocus = invoiceName.onSetFocus = invoicePosition.onSetFocus=invoiceAddress.onSetFocus =  invoiceTel.onSetFocus = invoiceFax.onSetFocus = invoiceEmail.onSetFocus = invoiceDate.onSetFocus = jobNumber.onSetFocus = quantity.onSetFocus=function () {
     if (error_clip._currentframe != 1) {
          error_clip.gotoAndPlay(6);
Many thanks !

if ("same" eq delivery.getValue()) {
and
if ("other" eq quantity.getValue()) {
If that doesn't fix the problem, then you may have more that I didn't notice, or the error isn't related to that.  In any case, if the error persists, provide the error message you are getting

Similar Messages

  • Default Radio button when form opens

    Is there a way to make a radio button when form opens?
    for e.g. when we open key flexfield value sets form, key flexfield radio button is default. i want to do when i open the form value set button is defaultly checked.
    thanking you in advance.

    User personalization.
    Find the name of the field for that radio button.
    Write a when-new-form-instance personalization.
    Make the action type =property
    And make the action as default value/initial value = the value corresponding to the default you want.
    Also check http://it.toolbox.com/blogs/apps-traction-blog/oracle-form-personalization-basic-example-11936
    Hope this answers your question,
    Sandeep Gandhi
    Edited by: Sandeep Gandhi, Independent Consultant on Feb 4, 2011 11:43 AM

  • Issue: Flash radio buttons & Php form

    I have a flash form which all of the fields are sending
    correctly
    through the php code. The flash radio buttons I added with
    the
    groupname == topic, doesnt send with the rest of the
    information that is being sent to the email. My question is
    how do I get
    the flash radio button info to submit with the rest of the
    form.
    The code for the send button on my flash file:
    on (release) {
    // send variables in form movieclip (the textfields)
    // to email PHP page which will send the mail
    form.loadVariables("form.php", "POST");
    ===============================================
    ===============================================
    Form.php:
    <?php
    $to = "[email protected]";
    $subject = "Contact Page Information for Today";
    $headers = "From: " . $_POST["name"];
    $headers .= "<" . $_POST["email"] . ">\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-Path: " . $_POST["email"];
    $message .= "\n\n";
    $message .= "Subject: " . $_POST["topic"] . "\r\n";
    $message .= "Email: " . $_POST["email"] . "\r\n";
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "Address: " . $_POST["address"] . "\r\n";
    $message .= "City: " . $_POST["city"] . "\r\n";
    $message .= "State: " . $_POST["state"] . "\r\n";
    $message .= "Zip Code: " . $_POST["zip"] . "\r\n";
    $message .= "Phone: " . $_POST["phone"] . "\r\n\n";
    $message .= "Message: " . $_POST["message"] . "\r\n";
    mail($to, $subject, $message, $headers);
    ?>
    Text

    Do you mean like this:
    <?php
    var topic;
    var listenerObject:Object = new Object();
    listenerObject.click = function(eventObj:Object) {
    topic = eventObj.target.data;
    trace(topic)
    groupTopic1_rb.addEventListener("click", listenerObject);
    groupTopic2_rb.addEventListener("click", listenerObject);
    groupTopic3_rb.addEventListener("click", listenerObject);
    groupTopic4_rb.addEventListener("click", listenerObject);
    groupTopic5_rb.addEventListener("click", listenerObject);
    groupTopic6_rb.addEventListener("click", listenerObject);
    groupTopic7_rb.addEventListener("click", listenerObject);
    groupTopic8_rb.addEventListener("click", listenerObject);
    groupTopic9_rb.addEventListener("click", listenerObject);
    groupTopic10_rb.addEventListener("click", listenerObject);
    groupTopic11_rb.addEventListener("click", listenerObject);
    groupTopic12_rb.addEventListener("click", listenerObject);
    groupTopic13_rb.addEventListener("click", listenerObject);
    groupTopic14_rb.addEventListener("click", listenerObject);
    $to = "[email protected]";
    $subject = "Contact Page Information for Hope Today";
    $headers = "From: " . $_POST["name"];
    $headers .= "<" . $_POST["email"] . ">\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-Path: " . $_POST["email"];
    $message .= "\n\n";
    $message .= "Subject: " . $_POST["topic"] . "\r\n";
    $message .= "Email: " . $_POST["email"] . "\r\n";
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "Address: " . $_POST["address"] . "\r\n";
    $message .= "City: " . $_POST["city"] . "\r\n";
    $message .= "State: " . $_POST["state"] . "\r\n";
    $message .= "Zip Code: " . $_POST["zip"] . "\r\n";
    $message .= "Phone: " . $_POST["phone"] . "\r\n\n";
    $message .= "Message: " . $_POST["message"] . "\r\n";
    mail($to, $subject, $message, $headers);
    ?>

  • Help with Radio Buttons in Form

    Hi. I have inherited a website that has a simple form. I have
    been asked to edit the form adding 4 radio buttons to collect the
    consumer's satisfaction with the content of the website. I have
    added the radio buttons using Dreamweaver MX, however, they do not
    work as I expected them to. I was under the impression that radio
    buttons did not allow the user to select more than one option
    because when the user selected a different option, the first option
    was unselected. My form is currently allowing all four options to
    be selected at the same time. The code for the form is below. I
    have changed the @ in the email address of the form to prevent
    possible spam. Any help would be greatly appreciated.

    It looks like you need to change the name= to the same on
    each radio button, if they all have the same name then you can only
    check one. Then click the form in the behaviors panel and be sure
    the radio button name is inserting into the proper db
    column.

  • Input form problem

    Ok I have created a input form, which is suppose to input
    data into two tables on on an SQL server. One field (a list) allows
    for multiple enters (the only field that goes to the 2nd table).
    The problem; I get an error message when I select more then one
    selection in the list field. The code is below. Thank you for any
    help.

    Ok I have created a input form, which is suppose to input
    data into two tables on on an SQL server. One field (a list) allows
    for multiple enters (the only field that goes to the 2nd table).
    The problem; I get an error message when I select more then one
    selection in the list field. The code is below. Thank you for any
    help.

  • Radio buttons on form are not always Re-enabling when i Tell them to re-ena

    I have a game setup where there is 1 server and 2 clients. The 2 clients each have a gui where they have 3 radio buttons to select from. Once they make their choice then their buttons are re-enabled when the server sends the message "#newround" to the 2 clients.
    this.sendToAllClients("#NewRound");
    when the clients receive this message:
    else if(copyMessage.startsWith("#NewRound")){
    //Re-enable the radio button choices and the play button.
    jButtonPlay.setEnabled(true);
    jRadioRock.setEnabled(true);
    jRadioPaper.setEnabled(true);
    jRadioScissors.setEnabled(true);
    newRound();
    It works 90% of the time but sometimes it doesn't re-enable any of the radio buttons on 1 of the 2 forms and sometimes it only re-enables 2 of the 3 radio buttons on the forms.
    Anyone know why this would be?

    Are you executing this code in a separate thread? If so, Try enabling them from the event dispatch thread. Refer to SwingUtilities.invokeLater() and SwingUtilities.invokeAndWait() for more info.

  • Variable drop-down lists according to radio-button input

    I need to restrict the display of drop-down lists according to a particular radio-button selection earlier on the form. Can I use a javascript call on the client side without linking to an external database along these lines:
    If radiobutton1 == 1
    then dropdownlist1 uses list1
    elseif radiobutton1 == 2
    then dropdownlist1 uses list2
    and so forth.
    Obviously the syntax is incorrect, but I need to know if it can be done before digging in further.

    Let's assume we have tree grouped radio buttons in a group of buttons, and a combo box object which displays a different list of elements depending of the chosen option.
    A very simple way to do it would be, for example, the following one:
    b [*] Radio Button Group - OnClick Event
    i // List of elements that will be loaded in the combo box object
    > var colorList = new Array("White","Blue","Red","Green");
    > var dayList = new Array("Monday","Tuesday","Wednesday","Thursday");
    > var tmarkList = new Array("Nike","Adidas","Reebook","Levis");
    i // ComboBox Object
    > var combo = xfa.resolveNode("Formulario1.ComboBox");
    i // Cleaning the combo...
    > combo.clearItems();
    > combo.addItem("Select one option to the list","");
    i // Filling the Combo
    i // "this" returns a button group where there are three radio buttons
    i // and the "rawValue" returns the selected index chosen in radio
    i // buttons.
    > switch(this.rawValue)
    > {
    > case "1":
    > for(nJ = 0; nJ < colorList.length; nJ++)
    > combo.addItem(colorList[nJ]);
    > break;
    > case "2":
    > for(nJ = 0; nJ < dayList.length; nJ++)
    > combo.addItem(dayList[nJ]);
    > break;
    > case "3":
    > for(nJ = 0; nJ < tmarkList.length; nJ++)
    > combo.addItem(tmarkList[nJ]);
    > break;
    >}

  • Netbeans 4.1 input form problem.

    hi all.
    i have a problem with netbeans ide 4.1 Build 200505031930 (Java 1.5.0_05).
    When i run (F6) my project (already builded), netbeans show me an input form (in the output window) but only for few moments.
    i can't write the inputs (the input form disappear instantaneously) for my little project and i receive this error:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 (because i use args[0]!)
    Actually netbeans doesn't ask me input parameters...or better..i haven't time for write anything!
    my code:
    public class Main {
    public static void main(String[] args) {
    String a = args[0];
    System.out.println(a);
    tnx :)

    NB commandline argument input is done via a form, not in the output window. IIRC (I'm using NB 5), open the project's properties, there's an entry area.

  • Hi I'm trying to make a radio button web form using edge animate.

    www.smpcanada.com/1.5/infinite_app
    Hi,
    Basically I'm working on this app, the only thing I need is, I want every option that the user click will be recorded and summarize, and will emailed to my email. Much like a web form, can I do that in edge animate? Please help... 

    www.smpcanada.com/1.5/infinite_app
    Hi,
    Basically I'm working on this app, the only thing I need is, I want every option that the user click will be recorded and summarize, and will emailed to my email. Much like a web form, can I do that in edge animate? Please help... 

  • PHP Form Validation: Radio Buttons

    Hey everyone -
    I'm trying to do two things here with an addition to one of
    my forms using
    PHP.
    1. Attempting to validate if one of the radio buttons has
    been selected.
    2. Displaying which radio button is selected once the page is
    reloaded
    (checking for validation errors). That is - if they've
    selected a radio
    button but didn't fill in the other area - I want the radio
    button they've
    already selected to be actually "selected" once the page
    reloads.
    Here is the series of radio buttons:
    <input type="radio" name="subject" id="subject1" value="1"
    />
    <label for="subject1" class="labelbold">I wish to
    contact you regarding
    website design</label><br />
    <input type="radio" name="subject" id="subject2" value="2"
    />
    <label for="subject2" class="labelbold">I wish to
    report a technical
    error</label><br />
    <input type="radio" name="subject" id="subject3" value="3"
    />
    <label for="subject3" class="labelbold">I wish to
    report an error with the
    copy</label><br />
    <input type="radio" name="subject" id="subject4" value="4"
    />
    <label for="subject4"
    class="labelbold">Other</label><br />
    This is how I'm validating my checkboxes:
    if($_POST['confirmbox'] == false) $error[] = "Check the
    Privacy Policy
    Agreement Box";
    However, using "false" doesn't seem to matter with the radio
    buttons. So,
    how can I get the radio buttons to validate that ONE was
    selected and how
    can I show that selected button on a page reload (I'm
    thinking I may need to
    dynamically generate the value=""....<?php...?>....?).
    Thanks!
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================

    Hello there -
    After no replies - I decided to strain my brain (ha-ha) - and
    finally
    figured out the solution to the problem.
    For the curious - I added this to each <input...>
    field:
    <?php if($_POST['subject'] == "1") echo'
    checked="checked"';?>
    And then for each <input...> I changed the "1" to the
    corresponding value
    each field was given.
    Have a wonderful night. :)
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Shane H" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hey everyone -
    >
    > I'm trying to do two things here with an addition to one
    of my forms using
    > PHP.
    >
    > 1. Attempting to validate if one of the radio buttons
    has been selected.
    >
    > 2. Displaying which radio button is selected once the
    page is reloaded
    > (checking for validation errors). That is - if they've
    selected a radio
    > button but didn't fill in the other area - I want the
    radio button they've
    > already selected to be actually "selected" once the page
    reloads.
    >
    > Here is the series of radio buttons:
    >
    > <input type="radio" name="subject" id="subject1"
    value="1" />
    > <label for="subject1" class="labelbold">I wish to
    contact you regarding
    > website design</label><br />
    >
    > <input type="radio" name="subject" id="subject2"
    value="2" />
    > <label for="subject2" class="labelbold">I wish to
    report a technical
    > error</label><br />
    >
    > <input type="radio" name="subject" id="subject3"
    value="3" />
    > <label for="subject3" class="labelbold">I wish to
    report an error with the
    > copy</label><br />
    >
    > <input type="radio" name="subject" id="subject4"
    value="4" />
    > <label for="subject4"
    class="labelbold">Other</label><br />
    >
    > This is how I'm validating my checkboxes:
    >
    > if($_POST['confirmbox'] == false) $error[] = "Check the
    Privacy Policy
    > Agreement Box";
    >
    > However, using "false" doesn't seem to matter with the
    radio buttons. So,
    > how can I get the radio buttons to validate that ONE was
    selected and how
    > can I show that selected button on a page reload (I'm
    thinking I may need
    > to dynamically generate the
    value=""....<?php...?>....?).
    >
    > Thanks!
    >
    > --
    > Shane H
    > [email protected]
    >
    http://www.avenuedesigners.com
    >
    > =============================================
    > Proud GAWDS Member
    >
    http://www.gawds.org/showmember.php?memberid=1495
    >
    > Delivering accessible websites to all ...
    > =============================================
    >
    >
    >

  • Why do 200 radio buttons in a form cause 8 second rendering delay

    We have an online questionnaire containing 36 questions, each with 6 radio buttons (216 in total) in a single form. Although the page appears to render quickly, there is then a delay in Firefox of up to 8 seconds before it will register a radio button click. This problem does not occur in Chrome or Safari, and there is slight (sub-second) delay in IE. The delay is reduced pro-rata by reducing the number of radio buttons. The delay can also be reduced to about 4 or 5 seconds by removing all elements from the page apart from the radio buttons and form.

    Thanks again for your reply.
    The delay doesn't occur in safe mode. After disabling all add-ons and extensions individually, it appears the culprit is Norton Toolbar. I haven't tested this on the other computers where the problem occurred, but they may well have had Norton Toolbar installed as well.
    Norton Toolbar is installed on IE but the problem there is sub-second, not 8 seconds. Is this a Firefox-Norton compatibility issue? Is there anything we can do about it, in our page design, without radically altering its usability?

  • Forms - Radio Buttons as check boxes which turn into circles - Need them to stay as check boxes.

    Hi
    I am working on some forms for Teachers Reports it is a generic document for student reports. I have set the document in Indesign 6 and edited the pdf form in Acrobat Pro.
    The form consists of Radio Buttons (Check Boxes) as they have to score the child between 1-4 and the teacher is only allowed to select 1 box from out of the 4 boxes (hence radio buttons) .
    The problem we are having is that there might be 2-3 teachers that have to write and score each child's in a certain section of the report and they might use a PC or MAC to do this.
    For some reason, some of the reports have changed the Radio Button "Check Boxes" to a "Circle" both in the PDF and when printing and they need it to be a Check box. (In indesign this was set to Check Box and to print as a Check box)
    Some how after the teachers have used different computers the check boxes have changed to circles and we need to change them back to check boxes but is there a way to change them without having to go "Forms" > "Edit" > "Select all circles" > "Properties" > "Options" > "Button Styles" > "Change to Check".
    But it is not changing to all of the reports on some.
    Is there an easier option can select properties and search the "circles" and change to "check boxes" for the whole document?
    I really don't want to have to go into each report and have to change each individually or export and import the data in the forms and the teachers dont want to have to rewrite each report.
    Someone please help!

    Are all of the teachers using Adobe Reader (or Acrobat), as opposed to something like Preview on tha Mac or Microsoft Reader on Windows? Preview is known to corrupts PDF form in a number of ways, including converting radio buttons to check boxes. Microsoft Reader causes other types of corruption. Also, if you create the fields in InDesign, it uses non-standard appearances for the various states and even Reader/Acrobat doesn't always set them in the way you might expect, so it's best to create them in Acrobat.
    Your description is a bit confusing since you're calling them radio buttons and check boxes at the same time. Can you clarify what the original field type is?
    It is possible to set the various field appearance properties with a script, which could loop through all of the fields and make the needed changes, but without more information about what's causing the changes and exactly what the changes are, it's hard to suggest anything specific.

  • Pls tell me how I can convert a PDF form to a Word doc, and have radio buttons etc work?

    Pls tell me how I can convert a PDF form to a Word doc, and have radio buttons etc work?  My PDF form did convert using Adobe PDF Export.... but the formatting is a schamozzle if I try to do anything with it.  Most importantly, I need the check boxes and radio buttons to work in Word!

    Checkboxes and radio buttons are form objects from Acrobat.  There is no equivalent for these objects, with the way they were constructed, within Word.
    I'm sorry for the inconvenience.
    David

  • Radio button selection showing panel form

    Hi
    I am using ADf
    using jdev 10.1.3.
    I am having table with radio button aside to that.My requirment is - when i am selecting radio button , panel form should be displayed.
    I changed autosubmit property of radio button to true.
    i have written ontableSelectionChanged method. and put this in selection listener of table.
    please let me know what else i needed to done.
    thanks in advance

    Hi,
    I assume that the radio buttons you mean is the singleTableSelect component. If you set this component to autosubmit=true then the table ets a selection notification for each row selection change. This can be listened for in a selection listener. In this listener you can then choose the panelForm component (that you set up to have its binding attribute pointing to a reference property in teh managed bean the listener is defined in) and set its rendered property to true. In a last step, you get access to teh parent container, the layout component that is the parent of the panelForm, - also through a binding reference - and call
    AdfFacesContext.getCurrentInstance().addPartialTarget(<parent component reference>);
    Frank

  • How do you bind a radio button to a row in a table

    Im developing a web page that does a search given certain criteria. It displays the results in a table and dynamically allocates a radio button for each row that is created.
    I then want to be able to select the radio() button and display the row that was selected by the radio button on another page.
    Im doing a project in college developing a online airline ticket booking system. The user searches for flights and is displayed back with the Outgoing flights and the return flights. Each flight that is displayed is given a radio button. The problem is that I want to let the user select the a radio button that corresponds with their choice of flight and display this flight on the next page.
    Can anyone help me please with some code or ideas on how to go about doing it
    Thanks very much Nicky

    I suppose you do something like this:
    <sql:query var="var" scope="request">
    SELECT * FROM table
    WHERE something = ?
    <sql:param value="${param.something}" />
    Right??
    When you start the page, add:
    <%@ page language="java" %>
    Then under that
    <% int i = 0; %>
    Then:
    <html>
    <body>
    <form action="your_action" method="post">
    <table>
    <c:forEach items="${var.rows}" var="v">
    <% i++; %>
    <tr>
    <td>
    <input type="radio" name="yourname<%= i %>" value="yourvalue">
    </td>
    </tr>
    </c:forEach>
    <tr>
    <td>
    <input type="Hidden" name="i" value="<%= i %>">
    <input type="Submit value="next page">
    etc. etc.
    Follow me so far?

Maybe you are looking for

  • Pwr Over

    Hi NetPro, anyone knows this ? i have no any device using PoE, but i still have this error. Nov 1 07:53:07: %C4K_IOSMODPORTMAN-4-INLINEPOWEROVERWARNING: Inline power exceeds threshold: Module status changed to 'Pwr Over' Nov 1 17:51:13: %C4K_IOSMODPO

  • Different framerates - how to combine - YouTube

    Hello. I was trying to find an answer for my question but couldn't. I made an animation in AE which is 23.976fps, 16:9, full HD. I must connect it with a .flv file which is 13FPS (!) and 480x270px. I want then to export it to YouTube. When I chose to

  • Can't send emails.  Can you help pls? Thanks.

    Hi, my Mac Book Pro won't let me send emails.  It says: Outgoing mail server (SMTP): Gmail Offline.  Can you help pls? Thanks.

  • How to preserve my library when reinstalling iTunes?

    Hi, I'm about to reinstall iTunes, but I have a question before I do. Is it possible to keep my library exactly the way it was before the reinstall? If so, how would I do it? I'm using Windows Vista Home Basic.

  • How to make a menu (opened by an on click event) stay open on the following pages

    Hi, I have a side menu that shows the main headings only, when clicked it displays the rest of the menu using and slide effect, with an option to close the menu, on reversing the slide. This all works perfectly but what i want to be able to do is, wh