Hello Samuel,
Thanks for the suggestion. Certainly I think the main problem is the "actions insertion". For some reason (I try it of course) they are not perfect when the previous line as been indented, maybe in many levels. Certainly I can study it in a more deep way (when have some time!).
Maybe it's also something related with my own habits I supose: I normally never use the indentation feature in any editor nor IDE: I prefer to determine the indentation spaces by... spaces... and to control it manually by myself. So I really don't place too much attention on this.
It's ok Samuel, I will try to figure out how the actions' lines can be inserted in the code taking in consideration the possible indentation levels in the previous lines.
Hello starin,
Your syntax is not correct. You must write something like this:
See here the SetVar action's help reference.
Hello Samuel,
Super :D
Thanks a lot again, David
Always thanks to you. We learn at least one thing new everyday! :)
Hello Samuel,
Certainly you find something curious (at least I don't know about this before). Apparently the Input Email control can store an "undefined" value if the email is not valid. This is similar to the Input Date control, which also do not store a regular string, but a Date variable. For that reason you get the error, because the validator library expect and string and not an "undefined" value.
You can change your code by this and see how is working. Note I set "false_2" just for your information:
P.S. As you refer in your previous post, certainly, if we use an Input Text control, your code works as expected, because in this case the value of that control is an string, even when it's empty. So the validator library can deal with that string without problems.
Hello Lanka,
Hi David,
Sure. I will follow your guide and see. I will let you know what happen.
My vote is for the splash screen plugin (I can see it working on certain application here in Android and they works like a charm), however, one possible advantage if we do not use that plugin (and simulate the splash screen with an app's view) is our application no need the plugin, so they can run in a browser and act in a similar way than other platforms.
But again one thing is the splash screen provided by the Cordova's plugin and other thing is our possible simulation. You decide! :)
Hello Lanka,
Thanks David for your reply. I thought GIF animation (loading) can use as splash screen. Thanks for reply again.
According to the Cordova documentation we must use PNG images for all platforms. Maybe a possible solution, if you certainly wanted, is to do not use the splash screen plugin, and, show the GIF image in your first app's view. You can start a Timer in that view, and, after a couple of seconds, show other of your app's view. In few words: simulate the splash screen by yourself using an specific app's view.
That can work, however, they works in a different way than the splash screen plugin, because in this case the splash screen is shown before the application is loaded, and, if you use an app's view to act like an splash screen, the application must be loaded before. Anyway you can try it and see if they can be useful for you.
Hello Lanka,
I am not quite sure if GIF images can be used for the app's splash screens, probably not. In Android, for example, the splash screen appear cover all the screen and certain spinner (provided by the system) is show until the app is finally loaded.
Hello Joshua,
I think you are looking for the "datePickerValue" variable. Please, take a look at the sample NewView1's Show event, in which you can see how that variable is setup with a Date Javascript value. You must use that variable to specify a value for the "datepicker", probably an string comming from an HTTP call's response.
Look more about Javascript's Dates here, for example.
Hello tin,
Thanks for share with that with us! Certainly AB have "out-of-the-box" the AlertBox, MessageBox, InputBox and other related actions, but, anyway is very good to see other alternatives and shared by their users. Thanks tin! :)
Hello Joshua,
Oh,David,You should update the help content.....
http://decsoftutils.com/Humm/Sites/Main/Views/Data/AppBuilder/Help/en-US/appActions.html#SetOption
SetOption "Option name" "Option value"
Use this action to store some option into the app local storage space. This options are not loss between app executions, which mean that the saved option can later be retrieved in next app executions. You can retrieve a saved option using the GetOption action.
I already do it sir. Thanks! :)
Hello Joshua,
You must specify the type of the option's value, certainly is a syntax problem:
Certainly the SetOption's help do not include the option's type: I fix this right now.
Hello Joshua,
The Dropdown menu's items are feeded by an Array variable, so we can play with that Array variable in the same way than others. Unfortunatelly, due to how the dropdown is draw, we can't disabled menu's items, but we can place items than appear like disabled one with a little of CSS. Is our duty to get ready for these possible "disabled" items' clicks. Look at this sample: MyApp.zip
Hello to all,
Hi all,
Sorry should be in wrong place to post this. But I couldn't find how to post a new question.
I'm very new to this. I just tried to recreate calculator app by following David's sample.
But I'm stuck at one place. I couldn't find "SetOperator" function under the new app window. But if I go to sample calculator "SetOperator" still there.
Please let me know am I missing something.
Thank you,
Lanka.
Don't worry I sorted it. It's under Functions Manager (Shortcut F7)
I've one more question please. Sample calculator we have buttons to click.
Lets say I need inputfileld put there instead of a button. Then user can put amount they need and make calculation.
Very simple Example :
User input 100
Below there will be 2 buttons one is "Option 1" other is "Option 2" if user click option 1 it will add 10 to 100 and shows the result. If user clicks option 2 it will add 20 to 100 and shows the result.
Anybody have any idea how should I get this success.
Thanks.
Lanka.
Please, the next time place your new question in a new forum's thread. Thanks. About your question, I think you can use the "Math" action to do what you wanted. Take a look at this sample I prepared for you: Sample.zip
Hello lanka,
To post a new question, please, follow this link. About your issue, if I am not wrong, you are talking about two different applications, the Calculator sample and other that you create. "SetOperator" is an app's function that the Calculator sample have, so, in order to be available into the other application, they must also be ready to use in that app.
You can take a look at the Menu -> App -> Functions' manager.
If you look at that in the Calculator sample, you can view the "SetOperator" function and also others. You can export functions from one app to another (from the functions' manager) but I am not quite sure that this is exactly what you wanted.
Hope this can help you in some way. Go ahead if you have any other questions, but please, place it in different forum's thread, so we can maintain it more or less well ordered and useful in order to search, etc.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.