<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by András Pop on Medium]]></title>
        <description><![CDATA[Stories by András Pop on Medium]]></description>
        <link>https://medium.com/@andraspop?source=rss-7069158e5bc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lznTx9GPK7oHd2PR.jpg</url>
            <title>Stories by András Pop on Medium</title>
            <link>https://medium.com/@andraspop?source=rss-7069158e5bc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 05:54:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andraspop/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to simulate properly working input fields in Axure]]></title>
            <link>https://medium.com/@andraspop/how-to-simulate-properly-working-input-fields-in-axure-48916b0e2fe0?source=rss-7069158e5bc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/48916b0e2fe0</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[axure]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[input-field]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[András Pop]]></dc:creator>
            <pubDate>Wed, 22 Feb 2017 16:36:25 GMT</pubDate>
            <atom:updated>2017-07-01T11:59:59.297Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7AJPguyrY8ZkSqIkC8Sjw.jpeg" /></figure><p>So the thing with text inputs in Axure is that they kind of suck. But why? — you may ask — well, they aren’t too flexible if you want to customise it, or alter it in any way, and there aren’t many controllable states.</p><p>Let’s say you’re designing a screen for mobile📱.</p><ol><li>You grab the basic text field from the official library.</li><li>You place it on your grid.</li><li>Add your hint text.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/1*xwOOROvxbRDsZQMBlpPPuw.png" /><figcaption>1.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*0354KqD8LIteUrZBe5AJIw.png" /><figcaption>2.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*-HzfwlDdK0lgoKN2FskUKg.png" /><figcaption>3.</figcaption></figure><p>So far so good. Now let’s preview it in the browser 🤔.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*xK6hM9t7CLeZ9tvWSOz7dQ.gif" /><figcaption>😖 I don’t think so.</figcaption></figure><p>The start of the text sticks too much to the side, you can’t really change it other than adding spaces, but those will disappear after the user starts typing. Other things I have issues with:</p><ul><li>box’s style can’t be changed (just the text)</li><li>there’s no selected state, just the native focused state</li><li>no margins on sides</li></ul><h3>The workaround</h3><p>The basic things you’d need for a proper input are☝️:</p><ol><li>a rectangle / line indicating the input area <br>(with modifiable interaction styles)</li><li>one text field with hidden borders — <em>for hint text</em><br>(you can find that in the properties panel)</li><li>another text field with hidden borders — <em>for typing</em></li><li>a label</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/175/1*7N2yG_GVxdqPrVxjJU8BFg.png" /><figcaption>You should see 👀 this in your ‘Outline’ layer view</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*5v8Qkd3VZttYOZFRIxqpjA.png" /><figcaption>We’ll organise these in a bit ⏳</figcaption></figure><p>Since you have this many items, you’ll be able to trigger events like never before 💃. So let’s set up the behaviour.</p><ol><li>set style ‘<em>hidden</em>’ for the label</li><li>set style ‘<em>hidden</em>’ for the typing input</li><li>position the two text fields in the same place, and the label as desired</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*15ktwDSddTqqsbyV_SNWoQ.png" /><figcaption>Hidden items are marked in yellow</figcaption></figure><p>Now we have to add a few cases for the ‘<em>hint text</em>’ ‘<a href="https://www.axure.com/support/reference/interactions"><em>onFocus</em></a>’ event:</p><ul><li><em>show</em> label</li><li><em>set selected </em>rectangle state on = true</li><li><em>show</em> typing input</li><li><em>set focus</em> on typing input + select text (this is important)</li><li><em>hide</em> hint text (since we don’t need to show this anymore)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*Pu31D-qduu5KmZojOry3BA.png" /><figcaption>Case Editor Panel in Axure</figcaption></figure><p>You should also put an action for ‘<em>onLostFocus</em>’ event so the rectangle reverts back to normal. So here all of these events combined on the ‘<em>hint text’ </em>item:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*VjDy1QwarBv9ma3qOOMK-A.png" /></figure><p>Add a few more actions for the ’<em>typing input</em>’ item:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*SzUZKumyHy9Z8CtOp_5bjQ.png" /></figure><p>Now let’s see how all these add up to a single input field:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*XGSrqxQu2sYK7_Q9cmdIcA.gif" /><figcaption>👏 Et voilà.</figcaption></figure><p>Is this worth all the struggle? — well, I hope so 👼— It’s only difficult to put all these rules together in the beginning, but when all of this is in place, you can reuse these custom modules and just duplicate your way around the screens.</p><p>But to save your neurons from melting 🔥 you can just download this as an Axure file <a href="https://www.dropbox.com/s/f3m974ggjbgf8he/input_field_tutorial.rp?dl=0">here</a> 👈 . You can also check out a live demo <a href="http://d6yx9s.axshare.com/#c=2">here</a>.</p><p>If you found this useful, you might — no, it’s not necessary, really… — share this over the interwebs. Happy prototyping folks 🎈!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48916b0e2fe0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>