[JS CS5] Re order pages script not working for me

Hi, I'm attempting to use the reorder script marked as the answer in this post :
http://forums.adobe.com/thread/519470
My problem is that when it reorders the pages, it puts them all into one spread and errors once it reaches 10.
Some details on what I am doing -
It's an 18 page document, reorder is as follows:
1,2,4,18,17,5,6,16,15,7,8,14,13,9,3,10,11,12
Currently it's in spreads, but even when I turn off facing pages, move each page by itself and turn the master into one page, I still have the same error. I've been fighting with this a while, I've tried each of those by themselves as well.
In case you are curious about the order - this is a booklet, but the middle signature is 3 pages. I'm attempting to create a script that will take it from reader to printer spreads as "print booklet" will not work because of the 3 page signature (extra page is a fold out on finished product).
I'm fairly new to scripting and feel it must be something obvious I'm just missing.
Thank you for your time!!

@Krista – I suggest you ask in the thread you are pointing to with your link.
No need to split the thread into two.
Now to your problem:
if all the pages end up in one spread it is no surprise that you get an error after page 10. The maximum page count of one single spread is 10.
Why do the pages go to one spread?
It's pure speculation, but I think it has to do with some preconditions your spreads are in.
Check for "Allow Document Pages to Shuffle" and "Allow Selected Spread to Shuffle".
Is "Allow Selected Spread to Shuffle" "off" or "on" for the particular spread where all pages are added?
And another question:
what is the particular script you refer to? There are a couple of scripts in this thread from various authors.
Uwe

Similar Messages

  • "Include Header Row in Subsequent Pages" is not working for table

    Hi,
    I'm using version 8.1.2.3337.1.509884.
    The pagnation feature "Include Header Row in Subsequent Pages" is not working for any table in my design. ( the check-box can not be checked no matter how many times I clicking it)
    I put such table already in a flow bodypage.
    Any similar issue reported?
    Any suggestions?
    Thanks.
    -Vicky

    Hi Raghu,
    Appologies that I uploaded a wrong version of xdp file yesterday.
    Here is the correct one.
    https://acrobat.com/#d=jr0XffvBZWXd0cVhL0OQ3A
    I totally understand that I have to check the checkbox "Include Header Row in Subsequent Pages".
    My problem is that, although I can see that checkbox, and it's not grey-out, I can not tick it. See below screenshot, with the red-cycle mark.
    You can try with above file.
    Just wondering why such weird behavior happened.
    -Vicky

  • Linking between pages is not working for me on mobile devices. Can someone help?

    I can get the page linking to work on my desktop machine, but when I preview on mobile devices through Edge Inspect the page does not work. It tells me the page can't be found. Can someone help? - Thanks Robin

    Try downloading Reflow Preview 8 that was released yesterday and see if that fixes it. If not can you post the name of the page you are trying to link too and I'll see if I can reproduce it.
    Thanks for you help and thanks for using Reflow,
    Chris

  • The Help Link from the Application Pages Does not Work for Peoplesoft Campus Solutions 9.0

    Hi everyone.
    I have a problem, I have been trying to set up the Help Link from the Application Pages for Peoplesoft Campus Solutions 9.0 according to the instructions given in the Document: http://docs.oracle.com/cd/E17566_01/epm91pbr0/eng/psbooks/EnablingtheHelpLinkfromApplicationPages.pdf ,  (referenced in the Doc ID 1289101.1, E-PB: How to Set Up the Context Sensitive Help with Hosted PeopleBooks using Universal Linking).
    I follow the instructions of that document carefully:
    I go to: PeopleTools -> Web Profile -> Web Profile Configuration
        2. Then I choose the Web Profile: "Development".
        3. Then Change the value for the Help URL field by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5 , the ctx parameter selected is the one that correspond to  the Campus Solutions (hrcs90r5) according to the Product Line Code Table (ULinkID) especified in the mentioned document.
        4. Stop the Web Domain and Clear cache.
        5. Start the Web Domain again.
    After setting up the Web Profile Configuration I test the help links, thas is why I click in the Help link in any Peoplesoft CS 9.0 Application Page (modify a person), but the next error message appears: "We're sorry, the topic you requested was not found.".
    I tried many combinations with the ctx parameters URL but it does not work yet. 
    I did the same test, but this time using the Help URL field with a HRMS ctx parameter by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hcm92pbr5 , and It works fine !!!
    According to the previous test you realize that It works with HRMS ctx parameter but not with Campus Solutions 9.0 ctx parameter,  Does anybody know what else can I do ? Am I doing anything wrong or missing? or maybe the Oracle's ctx parameter for Campus Solutions URL It is broken simply.
    Thanks for you help and feedback.

    2799444 - The page you are testing with appears to be a Workforce Administration page. Is that correct?
    The CS PeopleBooks would only work for CS pages, e.g.: try navigating to Main Menu > Campus Community > Personal Information > Add/Update a Person
    Also, you can use multiple ctx parameters:
    E.g.: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5&ctx=hcm92pbr5&ctx=pt852pbh2
    This way the help would work for the HR related pages like Workforce Administration, Campus Solutions pages like Campus Community and also PeopleTools pages like Web Profile Configuration. Hope this clarifies your question. Thanks!

  • Page protection not work for smart form

    I want to my item data in the same page.
    ex: item no.  material   description   quantity
                 10   0000001  material CH  10
                                      material EN
                                      long text 1
                                      long text 2
    In smartform, i had added folder under loop. and set page protection.
    But page protection still not work.
    Please help. Thanks a lot!!

    Hi Nicole,
    it works in smartforms the procedure is select text elements and give /:protect and paragraph name like p1: text wht ever u want P1:text similary how many ever  u want end it with /:endprotect
    it looks something like this
    /:protect
    p1:
    p1:
    /:endprotect.
    check !
    regards,
    sana.
    reward if helpful...

  • Splash page is not working for everyone

    Greetings All,
    My client has received several complaints by customers that
    they can't see
    the public website which opens automatically once the splash
    movie is
    finished playing. They say that all they can see is a yellow
    screen. I
    believe this might be due to the splash screen hanging when
    they don't have
    flash or a corrupt flash installed. Can anyone shed some
    light on me as to
    what might be the problem and a strategy toward fixing it.
    The splash page seems to work fine on every computer I have
    tried.
    I'd hate to have to remove the flash page but that is just
    what might have
    to happen if I can't resolve this issue.
    Here's the link:
    http://www.groceryoutlets.com/
    Many thanks,
    FUdo

    I'm a little confused.
    You have a splash intro flash movie that they *can* see but
    they can't see the main site:
    http://www.groceryoutlets.com/home.aspx
    the main site is not flash.
    Is the issue that the redirect is never leaving the flash
    page?
    hard to say without the ability to reproduce it.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    Fudo wrote:
    > Greetings All,
    >
    > My client has received several complaints by customers
    that they can't see
    > the public website which opens automatically once the
    splash movie is
    > finished playing. They say that all they can see is a
    yellow screen. I
    > believe this might be due to the splash screen hanging
    when they don't have
    > flash or a corrupt flash installed. Can anyone shed some
    light on me as to
    > what might be the problem and a strategy toward fixing
    it.
    >
    > The splash page seems to work fine on every computer I
    have tried.
    >
    > I'd hate to have to remove the flash page but that is
    just what might have
    > to happen if I can't resolve this issue.
    >
    > Here's the link:
    http://www.groceryoutlets.com/
    >
    > Many thanks,
    >
    > FUdo
    >

  • Page down not working for BDC

    Hi all,
    I have written a BDC to call transaction OASV. I have to fill a table control which has initial 10 lines in display. I will have more than 10 items to fill in the table control. But while recording through SHDB i dont get the recording for the page down. However I tried to write the code my self with the OK_CODE as =P++. Still it is not working. It is over writing the lines again when the next set is added. Pls guide me in this.
    Thanks and Regards,
    Anu.

    REPORT zbdc_fi_oasv
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : g_filename TYPE  string.
    DATA : BEGIN OF itab OCCURS 0,
           bldat(10) TYPE c,
           budat(10) TYPE c,
           monat(2) TYPE c,
           bukrs(4) TYPE c,
           blart(2) TYPE c,
           ldgrp(4) TYPE c,
           hkont(10) TYPE c,
           shkzg(1) TYPE c,
           dmbtr(13) TYPE c,
           prctr(10) TYPE c,
           END OF itab.
    DATA : BEGIN OF itab_tc OCCURS 0,
           bukrs(4) TYPE c,
           hkont(10) TYPE c,
           shkzg(1) TYPE c,
           dmbtr(13) TYPE c,
           prctr(10) TYPE c,
           END OF itab_tc.
    DATA : counter(2) TYPE n,
           counter1(5) TYPE n,
           ihkont(15) TYPE c,
           ishkzg(15) TYPE c,
           idmbtr(15) TYPE c,
           iprctr(15) TYPE c.
    PARAMETERS: p_fname LIKE rlgrap-filename OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_fname.
      g_filename = p_fname.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = g_filename
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = itab.
      LOOP AT itab.
        MOVE-CORRESPONDING itab TO itab_tc.
        APPEND itab_tc.
        CLEAR itab.
      ENDLOOP.
      PERFORM open_group.
      SORT itab.
      SORT itab_tc.
      DELETE ADJACENT DUPLICATES FROM itab COMPARING bukrs.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPMA03B' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RA01B-LDGRP'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RA01B-BLDAT' itab-bldat.
        " '01.04.2008'.
        PERFORM bdc_field       USING 'RA01B-BUDAT' itab-budat.
        " '01.04.2008'.
        PERFORM bdc_field       USING 'RA01B-MONAT' itab-monat.
                                                                " '1'.
        PERFORM bdc_field       USING 'RA01B-BUKRS' itab-bukrs.
                                                                " '1111'.
        PERFORM bdc_field       USING 'RA01B-BLART' itab-blart.
        " 'aa'.
        PERFORM bdc_field       USING 'RA01B-LDGRP' itab-ldgrp.
                                                                " '0L'.
        PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RA01B-PRCTR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
       PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
       PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        counter = '01'.
        LOOP AT itab_tc WHERE bukrs EQ itab-bukrs.
          CONCATENATE 'RA01B-SHKZG(' counter ')' INTO ishkzg.
          PERFORM bdc_field       USING ishkzg itab_tc-shkzg.
          CONCATENATE 'RA01B-PRCTR(' counter ')' INTO iprctr.
          PERFORM bdc_field       USING iprctr itab_tc-prctr.
          CONCATENATE 'RA01B-HKONT(' counter ')' INTO ihkont.
          PERFORM bdc_field       USING ihkont
                                        itab_tc-hkont.
          CONCATENATE 'RA01B-DMBTR(' counter ')' INTO idmbtr.
          PERFORM bdc_field       USING idmbtr
                                        itab_tc-dmbtr.
          IF counter = '10'.
            PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RA01B-PRCTR(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE' '=P++'.
            CLEAR : counter.
          ENDIF.
          CLEAR : ishkzg, iprctr, ihkont, idmbtr.
          counter = counter + 1.
        ENDLOOP.
        PERFORM bdc_dynpro      USING 'SAPMA03B' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RA01B-HKONT(03)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=UPDA'.
        PERFORM bdc_transaction USING 'OASV'.
      ENDLOOP.
      PERFORM close_group.

  • SD- Sales Order - ATP check not working for few item in same sales order

    Hi Experts,
    Need help we activated ATP check but for few item i could not find confirmation qty after availability check. In same SO out of 4 items for schedule line it confirming qty for 2 item but  it's not confirming for remaining 2 items though stock is available. Please guide me how to correst and what need to check.
    Manoj

    Dear Manoj,
               As you know, ATP is a big subject & some times its difficult to point the exact problem.
    In your case, I suggest you to execute the function module:BAPI_MATERIAL_AVAILABILITY using Tx:SE37
    key in selection criteria , in results check the "ATPQTY"- it will show you how much actual stock is available for use i.e. ATP qtty.
    still if you find the availability & system not confirming the qtty, then problem could be in checking rule
    Tx:OVZ9 check in relevant combination, whether you are considering RLT or not?
    is this case with MTS or MTO
    because in Sales order -
    for MTS - checking rule "A" & MTO checking rule will be "AE"
    Regards,
    Reazuddin MD

  • Hello, the 'Set As Start Page' is not working for me. Does anyone have an idea why?

    My 'Set As Start Page' isn't working...does anyone know what I can do?
    Thank you!!

    So you have tried to set the startpage under site domains?
    What is your startpage now?

  • Apply Nested Styles Script not working for me anymore

    //DESCRIPTION: Applies nested styles as directly applied character styles.         WARNING: This script will override any character styles which are directly applied to the text with the nested styles applied, and formatting might change!
    (function(){
         function IsValid (obj){
              var err;
              try{
                   if(!obj){return false}
                   if(kAppVersion>=6){
                        return obj.isValid;
                   var test = obj.parent;
                   return true;
              catch(err){return false;}
         function ResetFindPrefs(){
              if(kAppVersion<5){app.findPreferences = null;}
              else{app.findTextPreferences = null;ResetFindChangeOptions();}
         function ResetFindChangeOptions(){
              app.findChangeTextOptions.properties = {
                   includeLockedStoriesForFind:false,
                   includeLockedLayersForFind:false,
                   includeHiddenLayers:false,
                   includeMasterPages:false,
                   includeFootnotes:false,
                   wholeWord:false,
                   caseSensitive:false
         function GetTempColor(doc){
              for(var i=0;i<doc.swatches.length;i++){
                   if(doc.swatches[i].label == 'harbsTempColor'){return doc.swatches[i]}
              return doc.colors.add({label:'harbsTempColor'});
         function GetAppColor(colorName){
              for(var i=0;i<app.swatches.length;i++){
                   if(app.swatches[i].name==colorName){return app.swatches[i]}
              return null;
         if(app.documents.length==0){return}
         kAppVersion = parseFloat(app.version);
         var doc = app.documents[0];
         if(kAppVersion<5){
              var charStyles = doc.characterStyles;
         }else{
              var charStyles = doc.allCharacterStyles;
         var tempDocColor = GetTempColor(doc);
         var colorName = tempDocColor.name;
         var tempAppColor = GetAppColor(colorName);
         var removeAppColor=false;
         if(!tempAppColor){
              removeAppColor=true;
              tempAppColor=app.colors.add({name:colorName})
         for(var i=1;i<charStyles.length;i++){
              var savedColor = charStyles[i].underlineGapColor;
              var finds=undefined;
              var findsLength=0;
              do{
                   if(finds){findsLength=finds.length}
                   charStyles[i].underlineGapColor=tempDocColor;
                   ResetFindPrefs();
                   if(kAppVersion<5){
                        app.findPreferences.underlineGapColor = tempDocColor;
                        app.changePreferences.appliedCharacterStyle = charStyles[i];
                        doc.search("",false,false,'');
                        break;
                   }else{
                        if(kAppVersion<6){
                             app.findTextPreferences.underlineGapColor = tempAppColor;
                        }else{
                             app.findTextPreferences.underlineGapColor = tempDocColor;
                        app.changeTextPreferences.appliedCharacterStyle = charStyles[i];
                        finds = doc.changeText();
                        //alert(finds.length);
              }while(findsLength!=finds.length);
              charStyles[i].underlineGapColor=savedColor;
         tempDocColor.remove();
         if(removeAppColor){tempAppColor.remove()}
    This was a script to apply nested styles directly to the text as character styles.It was supplied to me by someone on this forum to help make a file adaptable to an epub doc. It has worked fine for many months but now it does not. I am wondering if the cause is that I have added two nested styles in the paragraphs, where before there was only one. The paras. are currently set up with nested styles as follows:[none] up to En Space, italic through 5 sentences.                  I am using 5 sentences because I can't figure how to use a para. end as a limiter. I know this is confused but any help will be appreciated. Thanks

    That looks like mine (and someone didn't follow my request on this page) :
    http://in-tools.com/scripts.html
    What doesn't work?
    You can PM me, and I'll try to figure out what's wrong...
    Harbs

  • Maintain order at runtime not working for MDM in PI 7.31

    Hi All
    I have and one outbound and 5 inbound interfaces all going to MDM system
    first one is import and next 4 are webservice calls to MDM multiple times but the mapping changes for each.
    So I kept 5 different operation mappings for 5 inbound interfaces and maintain order at runtime in receiver interfaces
    The first one import if fails in MDM due to value exception or any exception, MDM PI adapter is not catching that and the other interfaces are executed
    So the maintain order at runtime is not useful in my case. do we know why is this behaviour? can we make sure the import is successfully completed before the next interface execution using maintain order at runtime?
    thx
    mike

    Hi Mike,
    I'm not sure if this is still relevant or even up to date. The MDM adapter is/was nothing more than the old file integration with enhanced audit log. So, unfortunately, it will tell you all about the import successes and errors in the audit log, but it will not change the message status accordingly. Regarding message status it still behaves as if it was a file receiver adapter stopping transaction at file system level. In my opinion, this is not very helpful, and scenarios like yours cannot be implemented using standard tools. You can't even use the standard monitor to check whether normal distributions worked. You'd have to check the audit log of every message. Or check the file system directly or read the MDM log, as before.
    I hope they improved that in the meantime.
    Regards,
    Jörg

  • Firefox Find on Page does not work reliably in XML.

    I'm troubleshooting xml in firefox. I noticed that CTRL -F find on page does not work for finding strings "reliably".
    Sometimes it finds something and sometimes it doesn't.
    "Strings that are there"..
    You can find next, next, if it worked, but then if you find previous it will fail at some point.
    (View source, find on page) works though.. but not a native page.

    Make sure that "Match case" on the find bar (Ctrl+F) doesn't have a check mark.

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • Event manager script not working as expected

    On a Cisco 4900M running Version 12.2(53)SG1, trying to capture certain information requested by Cisco TAC to troubleshoot periodic high cpu usage on the device causing it to momentarily not respond to HSRP packets from the HSRP partner.
    This is the script in place today:
    event manager applet capture_cpu_spike
    event snmp oid 1.3.6.1.4.1.9.2.1.56 get-type next entry-op ge entry-val "80" exit-time 10 poll-interval 1
    action 1.0 syslog msg "CPU Utilization is high"
    action 2.0 cli command "en"
    action 3.0 cli command "show proc cpu sort | redirect bootflash:cpuinfo1.txt"
    action 3.1 cli command "show int summ | redirect bootflash:cpuinfo2.txt"
    action 3.2 cli command "show proc cpu sort | redirect bootflash:cpuinfo3.txt"
    action 3.3 cli command "show int summ | redirect bootflash:cpuinfo4.txt"
    action 3.4 cli command "show platform cpu packet statistics | redirect bootflash:cpuinfo5.txt"
    action 3.5 cli command "show platform health | redirect bootflash:cpuinfo6.txt"
    action 4.0 cli command "end"
    Problem is, when the cpu does spike, only action 3.1 is executed.
    How do I modify this script to run all the commands listed?
    TIA
    dom

    Let me first explain why your script is not working for you.
    Basically, the problem you encounter is a result of a common misconception about copyin(). It is intended to be used to copy content of userspace memory into a scratch buffer so that it can be accessed directly from within kernel space (where the DTrace core executes). That said, it is often interpreted as somehow being equivalent to malloc() whereas in reality it actually works like alloca() instead. So, what you are seeing is basically the artefact of the scratch buffer being overwritten with other data. And unfortunately, that is perfectly legal.
    The content of the scratch buffer pointed to by self->addr in your script is only valid for as long as the specific probe enabling is executing (it is clause-local). So, your clauses to print out the actual bytes in the buffer are looking at a buffer that is for all intends and purposes no longer reserved, and therefore you are looking at it after other data was written to the scratch space.
    So... in order for this to work, you should do things a bit different. Rather than trying to get a copy of the buffer in one clause, and then read from it in following clauses, you can simply collect the buffer address in the entry read:entry clause, get the number of bytes read in the first read:return clause, and then for every clause in which you print 4 bytes do the following (example for bytes 4-7):
    syscall::read:return
    /execname == "foobar" && self->nbytes > 4/
    this->addr = (char *)copyin((uintptr_t)self->bufferaddr + 4, 4);
    printf(" 4- 7: %02x %02x %02x %02x\n", this->addr[0], this->addr[1], this->addr[2], this->addr[3]);
    So basically, for every clause that print 4 bytes you copyin those bytes, and then print them out.

  • Adf faces table and applet in jsf page navSubmit not working in IE

    Hi
    I have a jsf page with adf faces table and applet , previous / next navigation is not working for my table when i add the applet to the same page , it is working in firefox but not in IE .
    I have no clue what to change , can any one help. below is the sample code for my jsf page
    Best regards
    Srinivas
    Code follows, not sure how to format the code here
    <h:form>
    <af:panelPage title="Test Adf faces table and applet">
    <af:panelHeader text="Orders">
    <af:table value="#{bindings.Orders.collectionModel}" var="row"
    rows="#{bindings.Orders.rangeSize}"
    first="#{bindings.Orders.rangeStart}"
    emptyText="#{bindings.Orders.viewable ? 'No rows yet.' : 'Access Denied.'}"
    id="orders" >
    <af:column sortProperty="order"
    headerText="#{bindings.Orders.labels.order}">
    <af:commandLink text="#{row.order}"
    id="orderNumber"
    onclick="showOrder(#{row.order})"
    disabled="false"/>
    </af:column>
                   </af:table>
    </af:panelHeader>
    <af:objectSpacer width="10" height="10"/>
    <af:panelBox>
    <f:verbatim>
    <div id="appletDiv">
                        <applet here />
                        </div>
    </f:verbatim>
    </af:panelBox>
    </af:panelHorizontal>
    </af:panelPage>
    </h:form>

    Sorry about the format, it looked okay when i previewed it , now it looks like terrible

Maybe you are looking for