Help with JQuery Mobile App- Passwords

Hello,
I just downloaded the Dreamweaver CS5.5 trial today onto my MacBook Pro (OS 10.6.6) and am trying to make a JQuery Mobile web app.  Once users get to the webpages on their iphone/android, I need them to be able to login so that they can get data specific to that specific user.  So far, I have
<div data-role="content">     
<form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
  <p>
    <label for="username">Username:</label>
    <input type="text" name="username" id="username" />
  </p>
  <p>
    <label for="pwd">Password:</label>
<input type="password" name="pwd" id="pwd" />
  </p>
  <p>
<input type="submit" name="doLogin" id="doLogin" value="Login" />
  </p>
</form>     
     </div>
This makes a nice looking username and password login area, but now I do not know what to do after the user inputs their information and clicks on the "Login" button.  Somehow, I need it to recognize a correct username/password, and link to a different page if it is correct, and produce an error if the username/password combination is incorrect.  Any help would be greatly appreciated; I'm really new at this.
Thank you.

Hi Lydia, first off welcome to the world of Dreamweaver!
Much like anything in DW it takes time to learn these things, especially the new technologies. Here is a page in the Adobe Developer Center that has many tutorials to help you get on the right track with the mobile stuff.
Build dynamic websites and web applications | Dreamweaver Developer Center http://adobe.ly/kBZmhL

Similar Messages

  • Paypal button for jquery mobile app in DW CS5.5

    Using the jquery mobile app framework in DW CS5.5 and need help in using Paypal mobile.
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <input type="hidden" name="cmd" value="_xclick" />
      <input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
      <input type="hidden" name="business" value="[email protected]" />
      <input type="hidden" name="item_name" value="Odor Cat" />
      <input type="hidden" name="amount" value="19.50" />
      <input type="hidden" name="currency_code" value="USD" />
      <input type="hidden" name="shipping" value="5.50" />
      <input type="hidden" name="return" value="http://www.mysite.com/checkout_success.php" />
      <input type="hidden" name="cancel_return" value="http://www.mysite.com/checkout_failure.php" />
      <input type="hidden" name="undefined_quantity" value="1" />
      <input type="hidden" name="receiver_email" value="@hotmail.com" />
      <input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
      <input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
      <input type="hidden" name="no_shipping" value="0" />
      <input type="hidden" name="no_note" value="0" />
      <input type="submit" name="submit1" id="submit1" value="Pay with PayPal">
               </form>
    This form button will take the user to paypal for payment, but is not for mobile app.
    thanks for your help,
    -Jim Balthrop

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • User Login with jquery mobile

    I have this code that works perfectly but when i embed with Jquery mobile it fails to work. its a user authenication code
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="../Connections/VT.asp" -->
    <%
        ' *** Validate request to log in to this site.
        MM_LoginAction = Request.ServerVariables("URL")
        If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
        MM_valUsername = CStr(Request.Form("username"))
        If MM_valUsername <> "" Then
            Dim MM_fldUserAuthorization
            Dim MM_redirectLoginSuccess
            Dim MM_redirectLoginFailed
            Dim MM_loginSQL
            Dim MM_rsUser
            Dim MM_rsUser_cmd
            MM_fldUserAuthorization = ""
            MM_redirectLoginSuccess = "source.asp"
            MM_redirectLoginFailed = "error.asp"
            MM_loginSQL = "SELECT Username, Password"
            If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
            MM_loginSQL = MM_loginSQL & " FROM dbo.Test_Register_Users WHERE Username = ? AND Password = ?"
            Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
            MM_rsUser_cmd.ActiveConnection = MM_VT_STRING
            MM_rsUser_cmd.CommandText = MM_loginSQL
            MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 70, MM_valUsername) ' adVarChar
            MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 50, Request.Form("password")) ' adVarChar
            MM_rsUser_cmd.Prepared = true
            Set MM_rsUser = MM_rsUser_cmd.Execute
            If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
                ' username and password match - this is a valid user
                Session("MM_Username") = MM_valUsername
                If (MM_fldUserAuthorization <> "") Then
                    Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
                Else
                    Session("MM_UserAuthorization") = ""
                End If
                if CStr(Request.QueryString("accessdenied")) <> "" And true Then
                    MM_redirectLoginSuccess = Request.QueryString("accessdenied")
                End If
                MM_rsUser.Close
                Response.Redirect(MM_redirectLoginSuccess)
            End If
            MM_rsUser.Close
            Response.Redirect(MM_redirectLoginFailed)
        End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css" />
    <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-role="page" id="page">
      <div data-role="header">
        <h1>Header</h1>
      </div>
      <div data-role="content">
        <form id="form1" name="form1" method="POST" action="login_code.asp">
          <table width="325" border="0" cellpadding="3" cellspacing="3">
            <tr>
              <td width="94"> </td>
              <td width="210"> </td>
            </tr>
            <tr>
              <td>Username</td>
              <td><input type="text" name="username" id="username" /></td>
            </tr>
            <tr>
              <td>Password</td>
              <td><input type="text" name="password" id="password" /></td>
            </tr>
            <tr>
              <td colspan="2"><div align="center">
                <input type="submit" name="button" id="button" value="Submit" />
              </div></td>
            </tr>
          </table>
        </form>
      </div>
      <div data-role="footer">
        <h4>Footer</h4>
      </div>
    </div>
    </body>
    </html>

    "Fails to work" in what way?

  • Problem with Jquery Mobile Swatches

    Hello,
    Im trying to use Dreamweaver cs6 with Jquery Mobile but I'm receiving this error.
    File not found
    Dreamweaver could not file the file "Applications:Adobe Dreamweaver CS6: Configuration:JquerySwatch: JquerySwatchTemp.html" to load.
    Anybody can help me?
    Thanks

    Have a look here http://www.dmxzone.com/go/16740/clearing-dreamweaver-s-cache

  • I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

  • Cannot get background image to appear in app made with jquery mobile

    Not sure where to post this issue but i thought here might be a good place as it is related to Dreamweaver.
    I am using jquery mobile and phonegap to develop an app and i'm a noob at this.
    I just want to make a scalable image as a background. After searching stack overflow it seems this problem comes up alot but I've tried all solutions and they do not work! When viewing it in a web browser...all looks fine but when i run it on the emulator or download the test build to my android phone it does not show at all!!
    I know that the jquery mobile stylesheets overwrite anything i try to custom style so i have gone in directly and targeted those elements
    CSS:
    .ui-page.ui-body-c {
    background: url(jquery-mobile/images/phone-bg.jpg);
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    margin: 0; padding: 0;
    Like I said, this works fine in a web broswer when testing and fine in Live mode but in the app build i can see nothing at all.
    Has anyone got a good workaround/solution for this??? Because all suggestions i see in stack overflow just don't work...

    This is where your SpryHorizontal12.css file is looking for that image.  It's 404 not found at that location (notice the path):
    http://eappromotions.healthandperformancesolutions.net/eappromotions/EAP%20Promo%20Kit/htm l/images/top_nav_button.gif
    Also, don't use spaces in file & folder names.  It creates problems when spaces are converted to %20. 
    Nancy O.

  • Need help in developing mobile app using SAP

    Hi
    I have a team of Android, iOS and Windows developers and we are planning to start developing mobile using SAP and SAP Fiori. Need help in getting started with SAP mobile development like i need plugins and development kits that i need to use.
    Thanks
    Ram

    Hi,
    What help needed ?
    For SAP Fiori  Use this link : http://scn.sap.com/docs/DOC-41598
    For SAP Fiori Installation and Configuration Steps: http://scn.sap.com/community/mobile/blog/2014/06/10/fiori-technical-installation-and-configuration-of-one-app-from-a--z
    Which Software you will use to  develop Mobile Apps in SAP Platform ?So that i will suggest what to do ..
    Regards
    Lokesh

  • Error message when I try to publish aa application with  BI Mobile App Designer

    Hello,
    We had last month a product demonstration of BI Mobile App Designer by Oracle's commercial.
    Following this demonstration, I installed and deployed this module on one of our OBIEE server 11.1.7.141014
    I thus tested the BI Mobile App Designer product by creating two smartphone applications that worked perfectly.
    The problemis that since a few days, I can not access one of my applications from my smartphone.
    From OBI, I then load my application and tried to publish it again, but I get the error message :
    oracle.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReportParametersDefinition
    Failure: Due to oracle.xdo.servlet.data.DataException: oracle.xdo.XDOException:
    oracle.xdo.das.DASException: BISvsException on getting a JBIPS member query data.
    Then I tried to duplicate my "Mobile App" and rename it and when I tried to publish it I get the error :
    French message :
    La bibliothèque d'applications n'est pas configurée correctement.
    Assurez-vous que le fichier de configuration est défini pour la bibliothèque d'applications.
    English message :
    The application library is not configured correctly.
    Make sure that the configuration file is defined for the application library.
    I don't understand what happens and I can't find any solution to this problem in Oracle knowledge base !...
    Any ideas ?
    Thanks,
    Thierry Demoy

    Hi Thierry,
    In relation to the second error, I have had this before and it related to be below so this may help: Check the following file:
    <DOMAIN_HOME>/config/bipublisher/repository/Admin/Configuration/xmlp-server-config.xml
    Check that the following line matches were you are trying to publish your apps on OBIEE. The default is normally "Apps Library" but you can name this folder anything you like.
    Just change the below line and point to the folder. Restart the services BIMAD.
    <property name="APPS_LIBRARY_FOLDER_LOCAL" value="/Apps Library"/>
    Let us know if this helps?
    Thanks
    Mark

  • Has anyone found that the BC javascript validation conflicts with jquery mobile?

    I have added a form module to a page. Page has a desktop and mobile template - mobile template based on jquery.
    Form validates nicely on desktop (if the fields are not complete - then a javascript alert pops up. Visitor can close the alert dialog box and can complete the form.)
    However, on mobile, if the form is not filled out in manditory fields, the javascript alert pops up (as it should), but then the page goes to an error page - "Please fix this issue and re-insert your web form on your web page."
    Has anyone else had this problem. And even better - does anyone know of a solution? Thanks!

    This doesn't have to do with BC's form validation. The problem with your mobile site right now is that you are using the "$" variable which is usually associated with jQuery before jQuery is loaded on your page.  Once there's a javascript error on your page, the rest of the javascript will stop running so this error occurs very early on your page and some other javascript will stop working.
    To fix this you need to move the bit of javascript on line 13 of your page templates further down after the jQuery library is referenced, so this:
    <script>
            $(document).bind("mobileinit", function () {
    $.mobile.ajaxEnabled = false;
    });</script>
    <link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css" />
    <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    becomes this:
    <link href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css" />
    <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    <script>
            $(document).bind("mobileinit", function () {
    $.mobile.ajaxEnabled = false;
    });</script>

  • Problem using items with jQuery mobile

    I currently encountered two issues with the jQuery mobile template in APEX.
    - Textfield with autocomplete is not supportet and doesn't work
    - Date field should be supportet but doesn't work in most browsers
    Is there anything planned in APEX 5 to find workarounds for this? Or do we have to build our own solutions?
    My current APEX version is "4.2.2.00.11".

    Regarding the date picker - what about it doesn't work? I haven't found any issues with using date pickers on many different devices.

  • Problems with Google Mobile App in 3.0

    My Google mobile app is not working correctly in 3.0... it won't register motion sensing for voice search (and yes, motion sensing is turned on in the settings menu and the accelerometer works fine in other apps). I have tried removing and re-installing the app several times, to no avail. Is anyone else having this problem? Anyone have any ideas as to a solution?

    I've noticed the same issue since the update to 3.0. Generally Google will not react at all with the tones/chimes to let me know that it's 'paying attention', at least for several attempts of raising it to my ear (though the screen will darken as if on a phone call so accelerometer is doing its part). Then (sometimes) it will inexplicably begin to behave properly for search after search. I've found only two mentions of this issue in the discussions (surprised there aren't more considering it must be related directly to the update), neither with a solution, but at least I know it's not my imagination.

  • Help with the Folder app in iPhone?

    Let me first say this question is about the App named "Folder" by Geopher Tools. This is not about how to create "folders" or putting your applications in a iPhone OS "folder", etc. I bought this App in order to transfer files (including PDF, DOC, XLS, etc.) from my PC through iTunes and then should be able to e-mail them via Folder App in the iPhone.
    I've installed the Folder App in my iPhone, synched it with iTunes on my PC, clicked on the Folder icon in iTunes Apps, got permission from iTunes store to use it on my PC, and now... nothing? Can't figure out what to do next? No documentation.
    I've tried dragging a DOC or PDF onto the Folder icon and nothing. There doesnt appear to be a folder in iTunes for me to drag files into. Can you help me complete this App install to full functionality. Btw, my iPhone shows that my Folder is empty, of course. The next step is something in iTunes but I can't figure out what? It would be nice if Geopher Tools the developer put a easy instruction sheet on the Web or something. Sound a little frustrated? Thanks for any help you can give me! David

    I believe your problem is almost certainly a "Smart Playlist" that is secretly re-sending podcasts from iTunes to the iPhone. When it does this, it sends the version of the podcast that is on iTunes to the iPhone, thus eradicating any information about time played.
    This results in losing your place in the podcast, and -- most annoyingly -- re-sending podcasts that you have already played completely and that you want eliminated!
    The solution that seems to be working for me is to delete all "Smart Playlists". I deleted all the lists from iTunes, and also from the iPhone itself. (I deleted the lists on the iPhone by setting my preferences temporarily to "manage manually" and right-clicking them in the drop-down under the device. Then I switched back to automatic management.)
    To avoid this problem in future, when you create a Smart Playlist, you must add a rule that says "Podcast is False." Strangely, all the lists I deleted had such a rule, but apparently it was not excluding podcasts from being re-sent.
    Hope this helps!
    P.S. For the moment, I've changed my device preference for podcasts no "Sync 5 most recent unplayed" rather than "all unplayed". I don't know if that matters, but it makes syncing faster for testing purposes.

  • Need help with an in-app purchase

    Every time I try to do an in-app purchase it says that it can't go through and please contact iTunes support. I have money on my card and I did do other in-app purchase but that should not matter. And the app that I'm trying to do the in-app purchase is turbo tax 2012. Don't know if that matters or not. Don't know if I am just supposed to wait until the weekend is over to continue my purchases because the other purchases are still pending since it is the weekend.

    I once had an issue with an in app purchase not working. I needed to restart the iPad. Try giving it a reboot. Hold down the sleep and home keys, past when you see the red power down slider and until you see the silver apple. Let it reboot and see if that helps.
    Beyond that, is it possible that in app purchases have been disabled? They can be disabled in restrictions.
    If that's not the case, maybe it's an issue with turbotax and maybe you should contact them, see if they're holding things up somehow.

  • Can anyone help with the new App Store app? It keeps telling me that there is an unknown error even though I can access my account information, thanks.

    Any idea why upgrading to 5 should cause problems with App Store app. Can I delete it and download it again.  How might I do this.

    I had an unknown error problem with the Mac App Store, and this is how I fixed:
    (1) Inside Mac App Store select 'Debug' menu from top menu bar
    (2) Select "Show download folder ...'  from drop down menu
    (3) It will then take you to the folder in Finder
    (4) Press Cmd + I while on highlighted folder to Get Info (or choose 'Get Info' from right-click menu)
    (5) Under sharing and permissions click on the padlock to enter admin password and make changes
    (6) Now press the plus "+" sign and from the dialogue box add the Administrators (admin) group
    (7) When returned to the Get Info box, under sharing and permissions select 'Read and Write' as the option next to the admin group
    (8) Close the Mac App Store app, then re-open it. Now try downloading apps. It worked for me.
    (note: I'm finding I have to lock and unlock a couple of times with Lion before it lets me change some permissions, so if unresponsive first time try locking again then unlocking)

  • I need help with my instagram app...it wont finish installing??

    I need help with my iphone 3g.I tried to update my instagram app and all it reads is waiting...its been 3 days!!!

    Delete it. Turn your device off, then on. Then try to install again.

Maybe you are looking for