Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Time picker

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Re: Time picker

    OK, well, then, something's wrong with my setup. I'll double-check in Chrome (desktop) and Chrome/Safari mobile.

    Thanks much.

    Comment


      #32
      Re: Time picker

      I am having this same issue except with a date only field.

      If you set the HTML5 type to Date, the picker works marvelously. Everything renders well.

      BUT you can't set a default date in the field and you can't load data into the field.

      When you try, you just see MM/hh/yyyy

      You can then use the beautiful picker to pick a new date, but you can't see the current value of the date.

      That is true if you set a default (=date()) or if you populate the control with a value using ux.populatefromtables.

      Why even have that option if it isn't going to work!!!!

      Comment


        #33
        Re: Time picker

        Larry, I can't reproduce what you're seeing. I'm assuming a typo in MM/hh/yyyy. There's a bit of info missing here. Bound UX? Alpha version/build used? Web app/PGB app?

        When I create a data bound UX, including a Date Field, I set the HTML5 type to "date". I can set a Default value of =date(). When I click New Record, today's date shows.

        I'd assume your UX Date format is set to match your server.

        Can you post a sample UX showing the issue?

        Comment


          #34
          Re: Time picker

          I'm working on a sample

          However, it works fine when in working preview.

          You actually have to publish it to an a5w page for it to not work.

          This is all I'm doing:

          Create a UX with a date field. Set the initial value to =date()

          Set the datefield to html5 and turn off the date picker. (otherwise, you get two calendars...)

          Run it in working preview - works great.

          Do save page and put it into an a5w page. Publish.

          Now try it in Chrome.

          Actually, it looks OK in Firefox and Explorer now that I take a look - seems like only Chrome has the issue, but, of course, anyone using an Android phone is using Chrome ...

          Comment


            #35
            Re: Time picker

            Ok... now we have some important info... you've turned off the Date/Time Picker. You're working with an A5W page. And you're working under Android... or are you tests using Chrome desktop?
            We still don't know what Alpha version/build you're using.

            Under Chrome desktop, the Date Control Date/Time picker icon is gone. You hover over or click into the control and a "less than nice" set of icons is displayed. The control shows "mm/dd/yyyy". Clicking on the icons shows a terrible date picker.

            Under FireFox, there is no Date/Time picker icon, although the date is correctly displayed... and the default date works.

            With the Date/Time picker checked... all looks and works ok... no 2 Calendars displayed.

            Comment


              #36
              Re: Time picker

              But you need to use the html5 default date picker in order for it to work well on mobile devices.

              If you use the standard date picker, the calendar does not fit properly on the screen and you can not properly select the dates.

              Try that date picker you get in chrome on a mobile device with a smaller screen and you will see what I mean.

              Plus the stupid keyboard won't pop up and get in your way every time.

              Comment


                #37
                Re: Time picker

                David

                On your phone (in chrome), go to this page and test out all three of the dates.

                https://interpretek.us/testhtml5date.a5w

                If you have an Android phone using chrome you will see what I mean.

                I want a date picklist that works like the top one on all browsers.

                If I need to do one page for mobile and one page for desktop I can do that.

                However, it doesn't even seem to work consistently that way.

                Comment


                  #38
                  Re: Time picker

                  Ok... thanks... now I can see what you're working with... and can duplicate it.

                  The HTML5 "date" type requires a specific format... yyyy-MM-dd. So... your Default value setting will be...

                  Code:
                  =date_format(DATE(),"yyyy-MM-dd")
                  Don't worry... it formats correctly based on your device settings.

                  Comment


                    #39
                    Re: Time picker

                    Well, that makes it work totally acceptably in Chrome, but the same thing in Firefox (on a browser) doesn't work.

                    And in Chrome it puts up the correct date format, but in Firefox it does not ...

                    (I have updated the component online with your suggestion as an example.)

                    Comment


                      #40
                      Re: Time picker

                      No... that's correct... FireFox and IE don't support the Date input type. I feel something is missing here, however. You want to use Chrome or Firefox on an Android device?

                      Or is it that you want to run the same web page on an Android device and on any desktop browser?

                      Comment


                        #41
                        Re: Time picker

                        I would like to be able to run the same page on an Android device or any desktop browser.

                        Everything else works fine. I have several other controls that are working and formatting correctly - it's just the date calendar lookup that is messing things up.

                        Isn't there something that will work or am I looking for a unicorn?

                        Comment


                          #42
                          Re: Time picker

                          Larry... are you still interested in doing this? If so... do you care if the jQuery DatePicker Calendar is shown for desktop browsers instead of the Alpha Calendar?

                          Comment


                            #43
                            Re: Time picker

                            just try play using pre release version 12.4.4.4 build 4355
                            all fields set default value to 23:52

                            1. HTML5 type time
                            html5.png
                            in desktop it display like arrow
                            in android it display like clock

                            2. HTML5 type not set, Using a5 time picker
                            in desktop it display dropdown , click able using mouse pointer
                            in android it displays dropdown, clickable with tiny click area
                            a5timepicker.png

                            3. HTML5 type time, Using a5time picker same behaviour as no. 1
                            with white tiny clank pop up on the bottom left

                            a5TimePickerHtml5typeTime.png


                            for value into alert:
                            11:52AM
                            1152AM.png

                            11:52PM
                            1152PM.png


                            Preview web browser http://smg.datadrivensystems.co.uk/l...maid/clock.a5w
                            apk android : https://drive.google.com/open?id=0B6...TdYSjVpeFdKUlE


                            Have a good day!

                            Comment


                              #44
                              Re: Time picker

                              David,

                              I think that would be fine - I don't see any reason why it would be a problem, so long as it works!

                              Comment


                                #45
                                Re: Time picker

                                Khanafi,

                                If your reply is for me, I don't have a time issue - my problem is with dates.

                                For times, I just give them an hours control and a minutes control to type in the time, then I build it myself from the parts.

                                I have never seen a reason to provide a lookup for hours and minutes.

                                Comment

                                Working...
                                X