[Plugin] Advanced Textbox

0 favourites
From the Asset Store
Forget about default textbox restrictions, you can create sprites atop of the textbox
  • Pinco

    is there any solution for TextBox and CocoonJS? (CocoonJS doest not show TextBox)

  • There's a bug using this on my iPhone. Tapping the text box brings up the keyboard but doesn't give the box focus. You need to tap the box again before you can type into it. The standard text box doesn't have this problem.

  • szymek

    This kind of things must be supported from the engine first. Probably cocoon just doesn't support basic html form objects like the others.

    NoeL

    I will take a look on it as soon as I have few minutes :)

  • Ok, I've updated the plugin with some changes that should fix the ipad problem (at least on mine it works fine) <img src="smileys/smiley1.gif" border="0" align="middle" />

  • <3

    This sounds like how the textbox should be by default.

  • " Javascript error!

    Uncaught TypeError: Object #<Object> has no method

    'equals_nocase'

    localhost:50000/AdvTextBox_plugin.js, line 405 (col 13) "

    Not sure what's causing this?

    EDIT: Actually, I just found out what the problem is.

    I have a condition: if Text is: "" (- that is to check if nothing is in the text box). Can this be fixed?

    By the way, "Validated" means that there just is something in the text box right?

  • " Javascript error!

    Uncaught TypeError: Object #<Object> has no method

    'equals_nocase'

    localhost:50000/AdvTextBox_plugin.js, line 405 (col 13) "

    Not sure what's causing this?

    EDIT: Actually, I just found out what the problem is.

    I have a condition: if Text is: "" (- that is to check if nothing is in the text box). Can this be fixed?

    I can't replicate the bug, can you post a project that throws that error?

    By the way, "Validated" means that there just is something in the text box right?

    No, validate just does what the name says: check if the contained text respect the Type format.

    For example. If you use the Type URL, it will check if it's a valid url.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'll give you a DL later when I get home.

    I would love a feature to check if something is in the text box or not. Can this be implemented?

  • I'll give you a DL later when I get home.

    I would love a feature to check if something is in the text box or not. Can this be implemented?

    Wouldn't it be the same as doing comparetext ""? <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Pinco

    Love the plugin. But I'm running into a problem when using webfonts. The very first time the layout loads, the webfont works fine. But when the game returns back to the layout with the webfont, an exception occurs.

    Uncaught TypeError: Object [object object] has no method 'updateFont'

    Here's a capx that shows the bug. Clicking anywhere restarts the layout and shows the exception.

    dl.dropboxusercontent.com/u/38658788/AdvancedTextbox.capx

  • funkyos

    sorry for the delay, but the work doesn't give me too much time to check the forum and unfortunately I can't find a way to be notified with an email when new reply came out :/

    Anyway, the bug is fixed :)

  • Pinco you are the man or woman, this plugin is a life saver.

  • This is a great plugin.

    Do you have a way to attach a class attribute ?

    I use the CSS_IMPORT plugin, and could define the text style externally.

    Thanks a lot

    Hugo

  • Cant believe I haven't found this plugin before now

    It pretty much have everything I would expect it to have, to the point where it in my case will completely replace any use of C2s normal textbox and text objects at first look when just looking through it quickly.

    I really hope you are still keeping an eye on this, because what I think would make it one of the absolute most useful plugins for C2 ever made. Would be if it had auto size.

    An option like:

    Auto size = None, Both, Horizontal, Vertical

    Which would scale the textbox in the selected direction if needed.

    Even though I love it, amazingly good plugin, should replace the normal text and textboxes in C2, if It wouldn't cause problems for a lot of projects

  • Pinco I have an expression suggestion for this plugin, which miss in the default textbox: show number of characters now in texbox. I will use this to validate login for minimum 8 characters password, an i think that this expression will be usefull for most other users

    Other suggestion is to use an image as texbox

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)