Skip navigation
Currently Being Moderated

Problem with Text entry

Apr 29, 2012 7:02 PM

Hi guys,

 

need some inputs on TEB with the following actions

1. show = text caption_230........ shown once you have not entered anything on TEB

2. expression= rdcmdgotofram=rdinfocurrentframe-1

2. continue

 

else

go to next slide

hide= textcaption_230

 

problem is:

once a user click on submit without entering any on the TEB..it executes the above action. then once user writes on TEB then clicking submit it does nothing.

 

but if user writes on TEB then clicking submit (write first before click submit).. everything is well.

 

im using CP 5.5

 
Replies
  • Currently Being Moderated
    Apr 30, 2012 1:16 AM   in reply to leshanley

    I think you posted this in a comment on my blog as well?

     

    Do you expect the user to return to the slide? If not, you do not need to hide the TC in the Else section. If yes, I would prefer to set an On Enter action for the slide to hide that Text Caption.

     

    My advanced action is functional:

    TEBCheck.png

    No need to add Continue, playhead will be released by the Submit button, that is why you need to rewind.

    The Else action has only the statement 'Go to Next Slide'. Beware about my remarks about hiding the TC in the start of this answer,

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 2:29 AM   in reply to leshanley

    Wait a minute: you are talking about 'On Exit'? I triggered this advanced action by the TEB, perhaps I misunderstand your remark?

     

    Please never use the On Exit action, it will not be executed in this case because you are jumping to another slide, so the last frame of the slide is never reached, which means that the On Exit action is not executed. That is why I suggested to hide the TC on entering this slide.

     

    I double checked my example again, it works perfectly. Here is the timeline:

    TEBCheckbis.png

    There must be another reason, if you trigger this action by the TEB, which means that clicking submit will execute the action.

     

    Lilybiri

     

    PS: the top most Text Caption here is to debug, I'm watching variables rdinfoCurrentFrame and MCQ1Answer in it.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 2:28 AM   in reply to leshanley

    No pictures visible, please use the small still camera icon in the toolbar to insert your pictures.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 2:35 AM   in reply to leshanley

    Do not use Continue in the THEN portion.

     

    And please, do not put the Hide after the Jump. I tried to tell you it will be a lot better to assign it On Enter.

     

    You call this action 'TextArea', are you perhaps not using a TEB but a TextArea widget?

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 2:52 AM   in reply to leshanley

    How do you trigger this action? I really am puzzled, this works perfectly for me. Are there other interactive objects on your slide? And did you uncheck the 'Validate option' for the TEB. Perhaps post a screenshot of the Properties of the TEB: General, Action and Option accordions

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 3:27 AM   in reply to leshanley

    There are two click boxes on the slide, but I do not see the pausing points, nor the TEB pausing point (I presume the selected object is the TEB?). It has the same label as its associated variable (would never do that, identical labels cause a lot of issues, but think it is OK here because the default variables has also the same name). Do never put interactive objects in the same place on the stage; where are those click boxes? Your issue could be linked with those, they are also higher in the stack of the timeline. Drag the TEB to the top of the timeline, and the Click boxes and show me the pausing points of the three of them.

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 3:45 AM   in reply to leshanley

    We can go on for a long time like this. I just inserted two click boxes in my example on top of the TEB, and everything is still OK. What are those CB's doing, I suppose they are on top of the buttons bottom left? Do they trigger something, because their active region is there while the TEB has its active region. Can I have access to your file? You could post it on acrobat.com (with your Adobe ID), then share and publish it and send me the link by private message.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 5:04 AM   in reply to leshanley

    I cannot think of anything else, because I cannot reproduce your issue: have inserted Click boxes with the same functionality and for me everything works great.

     

    That is why I asked if I could have access to your slide (no need to give me the whole project, just this slide,  perhaps with the one before and after to have the functionality of the click boxes).

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    May 5, 2012 3:22 AM   in reply to leshanley

    Think I figured it out: replace the Expression in the THEN part with:

     

    Expression rdcmndGotoFrameAndResume = rdinfoCurrentFrame - 1

     

    And make the timelines of the TEB and the two click boxes 0,1sec shorter so that they do not touch the end of the slide timeline. I cannot explain why this solves the issue, frustrated. If I can find the reason, will be back. Two of the timelines in slide 3 had the red triangle that means that they are tied to the end of the slide. When I broke that link it worked.


    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    May 6, 2012 11:04 PM   in reply to leshanley

    It means you just drag the end of the TEB objects on the timeline a little to the left so that they do not reach right to the last frame of the slide.  There should be a small gap of one or two tenths of a second between where the TEB object ends and the slide ends.  If your TEB object on the timeline shows a red arrow, you have not done this properly.

     

    TEB_NotToEnd.png

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 12:01 AM   in reply to leshanley

    OK, have deleted my changes to your file but will reconstruct it for slide 3 and upload to Acrobat and send you the link. I think that the timeline will best be refurbished, because if you do not wait long enough, until the pausing point of the TEB is really reached, it will not work. Why do you make timelines that long after the audio? I inserted a Text Caption with the system variable rdcmndCurrentFrame. If you wait to type or click Submit until this variable has reached the pausing point, everything works fine (after you made the end of the timelines of the 3 interactive objects 0,1sec shorter).

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 12:39 AM   in reply to leshanley

    Hi again,

     

    Here is a screenshot of the Timeline of slide 3 (only slide I adapted):

    FSC.PNG

    To avoid that the user clicks on the Submit button before the pausing point of the TEB is reached (which causes issues), the TEB timeline is now starting only very little time before the end of the audio. This means that the blank input box and the Submit button will only then be visible.

    I shortened too much timelines, it is not really necessary to shorten all the Text captions beneath the click boxes. It is just that I selected all timelines, and used the shortcut SHIFT-Left arrow to shorten all by 0,1secs. Sorry about that. Will upload the file with this slide change to acrobat and send you link by PM

     

    Lilybiri

     

    PS: BTW I do not like the change to the user forums, it looks awful on Chrome....

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 1:28 AM   in reply to leshanley

    Everything is messed up, have to search for the buttons 'Reply....', fonts have been shrinked so much for some text that I have to zoom in on a high resolution monitor. No way anymore to see if someone has some expertise or not, and both in IE and Chrome it looks simply awful... Perhaps you use another browser?

     

    Perhaps I'm tired, but think I will stop answering questions for a moment. Since the discussions on Linkedin where our expertise is doubted I feel too much depressed. Let Adobe provide support...

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 1:34 AM   in reply to Lilybiri

    I think Adobe has only just changed over to this new version of the forum software.  So it may be that things will be a little rough for a while until they get everything set up and sorted out again.

     

    Lieve,

    If you're tired and feeling low, by all means take a break.  You've unselfishly given so much to this community already, nobody could ever complain about you taking some time off to recharge your batteries.  I'm sure the rest of us can handle incoming queries for a while.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points