Welcome to the Instapage Support Center

|

Right to left text support for forms

Instapage allows building Right To Left forms. To achieve that just add following code to page, by clicking on Settings, and then JavaScript. Make sure you're in the Header section and paste the code below:
    

<script>
    ijQuery( document ).ready( function() {
                              
    function rtl(element) {   
        if(element.setSelectionRange) {
            element.setSelectionRange(0,0);
        }

    }    
    ijQuery('input[type="text"], input[type="email"], input[type="password"], textarea')
            .css('direction', 'rtl')
            .on('keyup', rtl(this));

    });
</script>


 This will work in page preview and on the published page.

Have more questions? Submit a request
Was this article helpful?
4 out of 4 found this helpful

Need Further Help?

Tell us what you need and we will be happy to assist you.

Our team of expert support staff and our community can answer your questions. Submit a ticket, or reach out on live chat!