Basic walkthrough to add form with buttons to B1

Hi All,
I am newbie to B1 dev. It would be great if anyone can offer me a very basic bullet point intro to a simple B1 customisation.
Could someone please outline the most basic steps to achieve a form in B1 (available from the main menu) that includes a button that triggers a user query.
for example.
1/ Build form in Visual studio
2/ compile
3/ add to B1? how?
4/ ..
etc.
Even better, if anyone has a very basic intro/guide in a video it would be perfect.
It's sometimes the most basic steps/outline that people like me need to see... then we can go ahead and complete with success.
I understand the SDK info in regard to building a form, but I am then at a loss what to do once I save my project in Visual studio (for example).
Best regards,
John

Hello
If you installed sap b1 sdk (can be installed from any patch) you can find a samples.
Building forms example:
C:Program FilesSAPSAP Business One SDKSamplesCOM UIVB.NET 3.SimpleForm
this is in VS 2003, so if you open it in VS 2005 it will be automatically converted.
You can also find usefull informations from GSC blog:
/people/lisa.mulchinock/blog
You can find some blogs about UI API.
Regards
János

Similar Messages

  • Multi-row form with button to save and add another row

    Can you have a button on a multi-row tabular form that would save the current changes, and than open a new row up on the fom for a new entry to be entered? This would combine the save and add a row button functions.

    Add Row button is doing exactly what you are asking for - it will save the chages you
    made and add a new row.
    Denes Kubicek

  • PDF form with buttons opens up URL with security warning window

    I have a short-lived process that renders PDF form with data merged. The data is in XML format. 
    The form buttons are assigned URL values when the form is opened. When I click on them,I get a Security warning prompting me to allow/block that site. When I click on 'Allow', I get a window of download statistics of the website that in the URL.
    This would be annoying to the end user. How I do I suppress the Security warning window as well as the download statistics window before the PDF is opened ? Can this be done either at the process design, form design stage or using Java APIs ?
    Thanks,
    Jyothi

    I have a short-lived process that renders PDF form with data merged. The data is in XML format. 
    The form buttons are assigned URL values when the form is opened. When I click on them,I get a Security warning prompting me to allow/block that site. When I click on 'Allow', I get a window of download statistics of the website that in the URL.
    This would be annoying to the end user. How I do I suppress the Security warning window as well as the download statistics window before the PDF is opened ? Can this be done either at the process design, form design stage or using Java APIs ?
    Thanks,
    Jyothi

  • XFA form with button to save file with unique filename

    Is there a way to save a file with a unique filename using some data a user has entered (name, for ex.) that will fire when the user clicks a Print button? Attached is a file for reference.

    Yes, I'm getting close. With this
    var 
    vTargetName = Page1.dateStamp.rawValue + " HSS Foot & Ankle for Patient " + Page1.First_Name.rawValue + " " + Page1.MI.rawValue + " " + Page1.Last_Name.rawValue + ".pdf";
    var  
    vCurrentName = event.target.documentFileName.toString(); 
    if  
    (vCurrentName == vTargetName)app.alert("Thank you. Your form has been saved."); 
    else
    app.alert("There was a problem. Your form has not been saved.");
    I do get an alert when the PDF is saved. But if I modify the folder js to say var vPath = "/c/HSS/ instead of var vPath = "/c/HSSSave/ I don't get the alert "There was a problem." Do you see an error in the else condition?

  • How can I create a form with a button that adds a new page of fields to fill out?

    Hi,
    I have a one-page form created in Acrobat Pro 9 that contains five fields for a user to complete. I'd like to give the user the option of adding a page with the same five fields to fill out. The user finishes those fields, presses an "Add a Page" button, and then gets another page to fill out, and so on. When finished, their PDF form might be 10 pages long, at which point the user can save it as a single PDF file. Is this possible to do in Acrobat Pro 9 or 10, and if so, how?
    Thanks,
    Andrew

    When I created a new template like you told me, I wasn't given the option to rename the fields. See screenshot below. I'm just given the option to add a new template. Changing it refers to changing the template to a different page.
    If you can show me how to have the fields renamed automatically or use the rename parameter, I think that should fix it.
    Under Tools>JavaScript>Document JavaScripts, I've added a Script named "PackagingArtwork".
    // Here is the code
    function PackagingArtwork()
    {this.createTemplate({cName: "PackagingArtwork", nPage: 5});
    // Here the code that spawns the template
    var PackagingArtworkArray = this.templates;
              var PackagingArtwork = PackagingArtworkArray[0];
              PackagingArtwork.spawn(this.numPages, false, false);
    This is what the JS debugger said.
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    var t1 = createTemplate("t1", 0);
    var oXO = t1.spawn({nPage: numPages, bOverlay: false});
    while (numPages < 50) {
        t1.spawn({nPage: numPages,  bOverlay: false, oXObject: oXO});
    undefined
    [object CosObj=<<Stream>>]
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1

  • Can not keep drawable signature option in reader on a form with a mailto: submit button added.

    I hope someone has run into this.  I have acrobat 11.0.10 to create fill-able forms and reader 11.0.10 to view and fill them.  Do to the nature of the forms a drawn signature is required and is available right up until I add a submit button with a mailto: action.  Then all that is available in the reader is the digital certificate.  I should add that I save the form without reader extensions.  Is there a way to add the auto-adressed mailto function for the person filling the form and still keep the drawable signature option for signing?

    - is it possible to have more than one form on the page. If so how do
    I determine which form is submitted isDefined('form1'),
    isDefined('form2') does not seem to work,
    /quote
    Yes.
    - if there are two buttons in the form how can I tell which one was
    preses as both seem to return true when tested with isDefined()
    /quote
    Give the buttons different name attributes. On your action page check
    with StructKeyExists(Form, "name_of_first_button") and
    StructKeyExists(Form, "name_of_second_button") which one was pressed.
    Mack

  • How do I add a submit button to a pdf form?

    hello
    I am trying to add a submit button to a pdf form... is this possible though forms central or Acrobat Pro?

    If it is a PDF you created with FormsCentral, then yes, it should have a Submit button. See this for more info: http://helpx.adobe.com/acrobat-com/formscentral/help/create-fillable-pdf-form.html  and http://helpx.adobe.com/acrobat-com/formscentral/help/create-forms-locally-save-them.html
    If it's a fillable form created with Acrobat Pro, and you want to collect data with FormsCentral, then you import that existing PDF file into FormsCentral and add a Submit button to the form: http://helpx.adobe.com/acrobat-com/formscentral/help/navigate-formscentral.html#import_exi sting_fillable_pdf_forms
    I hope that helps,
    Brian

  • How do i add a submit button to a form

    ho do i add a submit button to a form.

    Hi;
    If you are using the FormsCenral website to create a form it will have a submit button by default for the HTML (web) form and also by default it you are saving as PDF (there is an option to create a PDF without Submit, but by default it does submit to FormsCentral). 
    If you are using the FormsCentral desktop application that is bundled with Acrobat XI you would have to sign into the service to create forms with Submit buttons.  You can also create a form without submit button in FormsCentral Desktop and then edit the form in Acrobat XI adding a submit button using your preferred submit method such as by email.
    Let me know if you need more information on either of these, it will be easier to assist knowing more about what you are using.
    Thanks,
    Josh
    PS - if this is a question about adding a submit button in Acrobat not related to FormsCentral your question would be best asked in http://forums.adobe.com/community/acrobat

  • Once you create a printable form in Acrobat Pro 9, how do you add a submit button?

    I have created printable PDF forms, but don't know how to add a submit button so they can be filled out and emailed. Currently if the people filling them out only have Reader they can only be printed out. They cannot be saved, and they cannot be emailed. Can the submit functionality be added in Adobe Acrobat Pro, or do you have to do that with a third party software?

    Yes, you can use the Extend Features in Adobe Reader, shown here but grayed out since I don't have a form open.
    When you do that, the people filling out the form will be able to Save a copy of the form for themselves and to forward a copy of the PDF to you. You might want to make a copy of the form first if you might have to make changes in the future since the Extended form cannot be edited directly.

  • PDF form with one submit button that prints form and sanves PDF with data with a unique file name

    We have a long medical form that patients can fill out at kiosks as they wait to see a doctor. We want one button so that the patient can print out the form with one click (and finish filling it out by hand if it's not finished already) and the same button click will save the form with a unique file name (using last name, first name, date, and/or email address so that the identity of the person who filled out the form will be readily apparent to anyone who wants to grab the user's responses later). Is Acrobat capable of doing something like this? LiveCycle Designer maybe? And if we continue with the PDF form and add a submit button, is there a way to program the button click to print and to save?
    Thank you in advance of any suggestions that might accomplish this task.

    I am not sure about the print, but it can probably be done -- possibly with a bit of JavaScript. As to the saving of the form, that is not reasonable at a kiosk. You would want the data submitted to a server (particularly with patient data), no e-mail or accessible drive. You can collect the data and put it in a database or import it to the form for printing yourself.

  • How to add a link button in system form?

    how to add a link button in system form in the edit text?

    HI
    see the following code
    This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
            oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 12
                .Width = 100
                .Specific.Caption = "Többlet"
            End With
            otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
            oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 120
                .Width = 100
                .Specific.DataBind.SetBound(True, "", "550")
                .AffectsFormMode = True
                .Description = otmpform.Items.Item("55").Specific.Caption
                .DisplayDesc = True
            End With
            oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            With oItem
                .Top = 316 + 30 + 15
                .Left = 120 - 14
                .Width = 13
                .LinkTo = "550"
                .Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
            End With
    Regards,
    J.

  • Basic form with external data

    I am not sure if I am overcomplicating something I am trying to do with designer/Acrobat.
    I am trying to create an interactive work order.
    Much of the basic layout has been done, and most of the fields are doing what I want them to do, though I still have a little here and there that needs some tweaking.  But before I get to doing those, my primary focus is to have the form access external data.
    For example.  I have a table in the form that has the following fields.
    Quantity     Part Number     Description     Price     Amount
    Quantity, price and amount are all internal to the form itself, and are fillable by the user of the form, with the exception that the amount field is a calculated value based on the previous two.  My intention is that these fields are only filled by the user of the form when needed.
    My issue however is the Part Number and Description fields, which has me quite perplexed on what would be the best way to go.
    From some of what I have read here and there in this forum and elsewhere, it seems that I have to have some kind of complex setup regarding sql servers if I want to use a simple database file (access for example) where I can edit as needed on the fly to pull data into the form as needed, using for example, a pulldown, to populate the two fields.
    I can muddle through that for my personal needs, however, my intention is to provide the form to co-workers so they can use it without having to set up what I am seeing as extremely complex setup of installing and configuring sql servers and so forth.  The computers will not be connected to any networks, these are field laptops.
    What I was hoping was to provide the database with the pdf file and let the end user simply copy those to a folder and use them without much fuss, aside from them being able to edit the database file to add their own custom information.  I was also considering adding in the ability for them to save and recall customer contact information as well.
    I am not by any stretch of the imagination a programmer.  I am a technician.  I can figure out how to use access easily enough.  But beyond this...well...its all greek to me if you get my gist.
    Am I overcomplicating the matter.  Is there an easier approach to what I want to do?  Are there any complete samples  (includes all the files needed) available that I can use and study to accomplish what I am trying to do?
    Appreciate any input from you folks here.
    Thanks.

    Hi,
    There are (at least) two ways of approaching this.
    One is to have the Part No. and Description in an external source (eg database) and then set up a data connection in the form to access this information. One problem is that if the user are using Adobe Reader, then the data connections will not work. See summary of deployment options here: https://acrobat.com/#d=3lGJZAZuOmk8h86HCWyJKg
    Another option is to hard wire the Part No and Description into the form. There is an example here and links to a tutorial on Acrobat Users website. Linking Drop Down Fields / Combo Boxes
    Good luck,
    Niall

  • Can't style forms with CSS in DWCS6 / Need to add WYSIWYG menu

    Hello everyone,
    i put both my "problems" in a single topic:
    1) I was trying to add some style to my pages with forms in them, but it seems it doesn't work so well.... i explain: i create a php page, i insert a form with text fields (username and password, for example) and the "login" button. The form ID is "LogForm". I create a CSS class, called ".FormCSS" and inside i put the rule "align text: right". I apply the rule to the form and all the text inside goes to the right. I try online (real server and local server, i tried both) but nothing happens, the elements of the form stay on the left. I tried to apply the rul to the ID of the form. Nothing.
    Probably i'm doing something wrong. Even with text and tables inside the form, i can't move/modify them, at all. In design view i see all the changes, online i can't (chrome and IE). What do i have to do?
    2) I'm creating a page to insert long text in a database, like when you post in a forum. I'd like to insert a sort of toolbar with the align options, style, and so on, like the WYSIWYG editors. Is it possibile? Is there a way to put a toolbar like that in DWCS6?
    Thanks

    #1 You're not styling the correct form selectors: form, fieldset, lable label, input, textarea...
    See example of a CSS styled HTML5 form. View source to see the code.
    HTML5 Form with jQuery Validation
    #2 Look at CK Editor.
    CKEditor.com | The best web text editor for everyone
    Nancy O.

  • Using a form with two input type="submit" ... buttons...

    Hello All!
    I'm using a form to add and remove parameters for a service definition.
    <form action="serviceinput.jsp" method="post">
                   <table>
                        <tr>
                             <td><b>Level</b></td>
                             <td><b>Fieldname</b></td>
                             <td><b>Stucturename</b></td>
                             <td><b>Type</b></td>
                             <td><b>Format</b></td>
                             <td><b>Optional</b></td>
                             <td><b>Semantics</b></td>
                        </tr>          
         <%
                        for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
              Parameter parameter = (Parameter) iterParameters.next();
         %>
                        <tr>
              <td><%= parameter.getLevel() %></td>
              <td><%= parameter.getFieldname() %></td>
              <td><%= parameter.getStructurename() %></td>
              <td><%= parameter.getType() %></td>
              <td><%= parameter.getFormat() %></td>
              <td><%= parameter.getOptional() %></td>
              <td><%= parameter.getSemantics() %></td>
                        </tr>     
         <%
         %>
                   </table>
                   <input type="submit" name="<%= parameters.addParameter() %>" value="add"/>
                   <input type="submit" name="<%= parameters.removeParameter() %>" value="remove"/>
              </form>
    The special thing about is, that I'm using two <input type="submit"...> buttons.
    The idea is, that I'd like to add one more row with attributes by clicking the "add" button and removing one row by clicking the "remove" button.
    If I use just one of them, it works fine. If I use both of them, nothing happens at all.
    Isn't it allowed to use two <input type="submit"...> fields?
    Is there an alternative? How can I implement my form the correct way?
    Thanks a lot in advance to all!
    Regards,
    Tomi

    Hi,
    Hai Tomi ,
    As swati already Explained U can try it with buttons,
    But u have to make a Hidden field and set the value of the hidden field
    with the Javascript code after pressing the button , Call a client side function which has an argument as given below
    Validate the Flag field in the JSP file
    <script language=javascript>
    function Validate(s)
    if(s==1)
         document.forms['ServiceInput'].elements["flag"].value="add";
    else
         document.forms['ServiceInput'].elements["flag"].value="Remove";
    document.forms['ServiceInput'].submit();
    alert("hai");
    </script>
    <form name="ServiceInput" action="serviceinput.jsp" method="POst">
    <table>
    <tr>
    <td><b>Level</b></td>
    <td><b>Fieldname</b></td>
    <td><b>Stucturename</b></td>
    <td><b>Type</b></td>
    <td><b>Format</b></td>
    <td><b>Optional</b></td>
    <td><b>Semantics</b></td>
    </tr>
    <%
    for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
    Parameter parameter = (Parameter) iterParameters.next();
    %>
    <tr>
    <td><%= parameter.getLevel() %></td>
    <td><%= parameter.getFieldname() %></td>
    <td><%= parameter.getStructurename() %></td>
    <td><%= parameter.getType() %></td>
    <td><%= parameter.getFormat() %></td>
    <td><%= parameter.getOptional() %></td>
    <td><%= parameter.getSemantics() %></td>
    </tr>
    <%
    %>
    </table>
    <input type=hidden name=flag value="bb">
    <input type="Button" name="b1" value="add" onclick= "Validate(1)">
    <input type="Button" name="b2" value="remove" onclick= "Validate(2)">
    </form>

  • ADD ROW in tabular form with new max value for a certain field

    All,
    I have a tabular form with an 'ADD ROW'-button.
    When a row is added the field 'TemplateID' should get
    automatically a new value which is MAX from TEMPLATEID + 1.
    I would be very glad, if someone has a hint for me.
    Thanks in advance,
    lucio

    Hi
    the cause of not seeing the 'Default Item Field' is,
    that during creation of a 'Tabular Form' the column with the
    primary key doesn't get that feature, why so ever.
    I still hope that someone could give me a hint why that code isn't working:
    function SetNewID(vDBID)
    v_check = $v('P20_MAX_TEMPLATEID');
    pNd = $u_Carray(vDBID);
         for(var i=0;i<pNd.length;i++){
              var node = $x(pNd);
              node = $x_Check_For_Compound(pNd[i])
              var lTr = $x_UpTill(node,'TR');
    updateRow = lTr.rowIndex - 1;
    document.wwv_flow.f02[updateRow].value=$v(v_check)
    Many thanks in advance
    lucio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for