Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #418873 Score: 0
    Profile photo of _Leel00_
    _Leel00_
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    @_Leel00_

    Hi Everyone,

    Maybe I see too big, but I was looking for an example of text simulation.

    Basically I want the user to type exactly B30 in a search area (caps not required) so it can return the proper image (a screen shot of what is available for that value).Β  So far I have not seen something similar in the available examples (or maybe there’s another name for that? English is not my first language sorry…).

    If such example exists, please point me in the right direction πŸ˜‰

    As well, I’m looking for classes/books to learn the software (I fill bad flooding this forum with zillion questions) if you have any ideas, I’m open πŸ˜€

    Thank you guys!

    #418879 Score: 1
    Profile photo of Adam Cain
    Adam Cain
    Member
    beginner
    intermediate
    profile
    picture perfect
    wise owl
    friend finder
    Group Member
    curious george
    contributor
    17 pts
    @cainam

    Hi – I threw together a quick example – essentially you have a text entry field, and you need to check that text field for the specific values.Β  If caps or no caps are fine, then you need an action with 2 possible conditions per entry.

    I put all the actions in one action group, and have that action group fire when the user clicks the enter key on their keyboard, or clicks the button on the screen.Β  The action group hides all the text fields, then shows the proper field based on the user entry.

    hope this helps!

    This post has received 1 vote up.
    Attachments:
    1. b30.zip
    #418885 Score: 0
    Profile photo of _Leel00_
    _Leel00_
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    @_Leel00_

    That helps so Much!

    Thank you! πŸ˜€

    #418887 Score: 2
    Profile photo of Stan Miller
    Stan Miller
    Member
    beginner
    intermediate
    LUC16 Attendee
    wise owl
    contributor
    curious george
    friend finder
    LUC17 Attendee
    35 pts
    @smiller7502

    @adam Cain’s answer is excellent for the specific case. However, if the correct entry contains more than one letter and case doesn’t matter, testing all the possible conditions can quickly become tedious.Β Β For longer text entries, consider first a Run JavaScript action to run the following script:

    var userEntry = VarYourTextBoxNameHere.value;
    var lc = userEntry.toLowerCase();
    VarYourTextBoxNameHere.set(lc);

    You can then run just one conditional test to see if the lowercased version of whatever the user typed matches what you need it to match.

    This post has received 2 votes up.
    #418891 Score: 0
    Profile photo of _Leel00_
    _Leel00_
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    @_Leel00_

    Awesome Thank you! πŸ™‚

    #418937 Score: 1
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    300 pts
    @timk

    I don’t think there are too many books. Software usually develops faster than you could publish the next edition.

    You can find some videos for beginners in the Knowledge Base

    The Shared Content area can provide you with lots of samples, mostly for very specific problems, but they’ll show how things are done in Lectora.

    With regards to the zillion-3 other questions: Just fire away as long as you don’t expect a zillion answers within 60 minutes πŸ˜‰

    This post has received 1 vote up.
    #418960 Score: 0
    Profile photo of _Leel00_
    _Leel00_
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    @_Leel00_

    Videos? Awesome (next stop videos in the forum! :D)

    Thank you for everything this is cool! πŸ˜€ πŸ˜€ πŸ˜€

    • This reply was modified 4 months, 2 weeks ago by Profile photo of _Leel00_ _Leel00_ .
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.