2015. március 30., hétfő

CSS input::before and Firefox

Recently we got a request to build a simple landing page based on a given PSD in Phormster.
At first it appeared simple but in the end it became tricky.

The tricky part was the last three questions with checkbox handling type. They needed a custom designed checkbox instead of the default browser-created one so we needed to replace them somehow. On top all of this there were different custom designs on checked- and unchecked-states of the checkboxes.


My first thought was the 'old school' way with two little pngs (checked- and unchecked-state) and a piece of JavaScript when I realized we had some really useful tools in CSS3 to do it in the 'modern way'. So I decided to skip Javascript and unnecessary network load out of this work. I googled for the correct syntax of CSS pseudo-classes '::before', '::after' and the ':checked' and my first solution was born:

<style type="text/css">
    input[type="checkbox"]::before {
        display: inline-block;
        width: 33px;
        height: 33px;
        border: 2px solid #e2b553;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        background: black;
        -webkit-box-shadow: inset 0 0 4px 4px rgba(255, 255, 255, 0.4);
        box-shadow: inset 0 0 4px 4px rgba(255, 255, 255, 0.4);
        margin-top: 8px;
        position: absolute;
        left: 0;
        z-index: 999;
    }
    
    input[type="checkbox"]:checked::before {
        -webkit-box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.4);
        box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.4);
    }
</style>
This first CSS definition creates a custom designed square and positiones right on the top of the original checkbox with a bigger z-index so the ugly, browser-created checkbox was hidden by this square. The second definition fills the square with a bigger inset shadow when the checkbox is checked-state making a "checked" look for the square. Finally the hidden checkbox state is changing when user is clicking anywhere inside the bounding <label> tag (this behavior cames from the Twitter Bootstrap what we use within Phormster).

So at this point, it worked like a charm in my Ubuntu's Chromium.


But later during our cross-brower testing we realized, literally nothing happened with the checkboxes in Firefox. So I did some researches and I found this: http://stackoverflow.com/a/12833498/1305261 and this: http://stackoverflow.com/a/12831771/1305261.


These StackOverflow users found the explanation: None of the input html elements have 'content property' so the working Chrome/Chromium behavior is invalid.


After that, it became clear to me I coluldn't ignore javascript to do this job. So here's my final, cross-browser working solution. At least there is no unnecessary network load. This solution is still better than the 'old school' way.


HTML:
<label>
    <input type="checkbox" class="questionValue" id="w_8_value" name="w_8_value" _optin="true" tabindex="7" />
    <div class="content">Lorem ipsum dolor.</div>
</label>
CSS:
<style type="text/css">
    label:before {
        content: '';
        display: inline-block;
        width: 33px;
        height: 33px;
        border: 2px solid #e2b553;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        background: black;
        -webkit-box-shadow: inset 0 0 4px 4px rgba(255, 255, 255, 0.4);
        box-shadow: inset 0 0 4px 4px rgba(255, 255, 255, 0.4);
        margin-top: 8px;
        position: absolute;
        left: 0;
        z-index: 999;
    }
    
    label.checked:before {
        -webkit-box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.4);
        box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.4);
    }
</style>
JavaScript (with jQuery):
<script type="text/javascript">
    $(document).ready(function() {
        $("input[type=checkbox]").unbind("change").change(function() {
            if ($(this).is(":checked")) {
                $(this).parent().addClass("checked");
            } else {
                $(this).parent().removeClass("checked");
            }
        });
    });
</script>
Fiddle's here.

2015. március 26., csütörtök

Evolution of Phormster - How an idea becomes a product

Going back in time and thinking over the history of Phormster, antecedents of its development are coming to my mind. I think they can be interesting so share them with you.

Nissan-times 
The root of every story goes back till 2010 when our business activity really started. That was the time when we got closer connection with marketing agencies and one of them requested us to help them create and manage some marketing campaigns for Nissan. These contained a wide range of tasks beginning from building creatives through sending out the emails and creating landing pages with forms till managing the registration and following up the prospects. At that time we did everything manually with help of Interspire and good old excel tables :) Thinking back, now it seems quite funny but apart from the time consuming and a bit primitive methods the campaigns managed by us were so successful that one of them became a best case scenario.

Although the campaigns performed pretty well our working methods - due to the manuality - carried a lot of possible mistakes so we tried to find some more effective solutions of which help we could speed up the preparing phase and our work could become more transparent.

Opel Adam AG - still in the car industry
2010 was a really busy year for us because we also managed to win CRM-tender for Opel Adam AG in cooperation with a marketing agency. In the following years we gained deep experiences in the car industry and saw the demand for a more effective marketing activity with the aim of knowing better and motivating the customers and prospects. One of the simplest and most cost-effective ways to get and keep in touch with them is the email-communication. The creation and sending out of emails wasn't problem anymore due to the self-developed e-dialogue module in CRM but we were requested more and more times to create landing pages containing forms with the goal of collecting registrations to different events. These forms weren't too sophisticated but they instigated us to develop a system supporting the creation of such kind of landing pages and helping us to handle registration transparently. It had some lovely functions however it was only for one purpose to serve campaigns for Opel.

Anyhow the demand was incubating in us to have a system being capable of creating any kinds of forms/questionnaires no matter how complicated they are.

Product 'Survey' - when less is more
Then we felt it was the highest time to put together all the experiences we had. Our dream of a flexible Survey system could come true so the development started with a great enthusiasm. The IT-team was open-minded for the incoming ideas and tried to build each of them into the system. Unfortunately there were pretty much adhoc ones among them and finally we came to the point that the system were able to serve almost everything  but it was unusable for a simple living creature.

Promotions for bank-sector - birth of the final idea of Phormster
In parallel we have been running promotions for MasterCard for years. Although most of these campaigns weren't so sophisticated there was one great difference between them and the campaigns mentioned above: dashboards, ordinary reports and measuring of visits had a much more bigger role than before. Of course we had solutions for serving these requests but they weren't flexible enough to use it anytime for any kinds of survey projects. 

We felt the lack of a system in which all the really necessary functions can be found and the work with it is easy enough even for anyone without any advanced level IT knowledge. 

All of us knew that a radical step is needed but nobody wanted to admit :) One day our CIO broke the silence and after telling us his concept about the refactoring of our previous projects we decided to put the whole project on a new base. So what happened thereafter is history :) and Phormster became a landing page builder with complex form functions. Now it contains a plenty of customizable widgets to establish fancy and trendy landing sites. Users have the possibility to share their projects with others and can compare the performances through funnel reports. It gives a solution for handling of registrations because they can be stored within the system or through webhooks can be integrated with other (for example CRM) systems.

Phormster is free to use till 1st of September 2015, so join us and create your own project!

Phormster is up and running!

Phormster is live, is up, is going, is running, so please, take it, taste it, test it and use it! :-)

It is free till 1st of september 2015, and we appreciate any reviews, opinions and proposals especially regaring usability of page editor and project management & sharing.

Phormster is a landing page builder with strong support to create complex forms and with a plenty of customizable widgets to establish fancy and trendy landing sites. You can share your projects with others and you can compare the performance of your LP's and of your call-to-actions amongst your projects or pages through simple but informative funnel reports. Saved data of your registered prospects or customers can be stored in the system or through webhooks can be integrated with other (for example CRM) systems.

Some parts of the product, as A/B testing and collaboration are quite on a basic level, so any suggestions and proposals are welcome and appreciated regarding the improvements of them. We would like to build these parts of the product as user friendly and useful as possible, therefore we strongly rely on the will/opinion of the majority.

Thanks for joining us and we welcome you in the form cloud! :-)
PhormsTeam


2015. március 19., csütörtök

Who stands in the focus of Phormster?

The latest post of Roscos dealt with the real USP of Phormster. As he wrote there everyone had had his own opinion about it and after some hours of contemplating had managed to get the common points. When trying to find what could stand behind the variety of opinions I realized a very simple thing: each member of our team can see the things through his own unique filter. It's quite natural that an IT person highlights different advantages as a marketing or a sales manager. Is it good or not? I think there's no problem with it till our final goal is the same and can agree in the most important issues.


"Only front-end developers, site builders, web designers?"

Parallel with question of USP we had to determine the target group(s) of Phormster. Although our ideas about it stood close enough to each other they were changing and extending in different phases of development. At the beginning we were convinced that the target group consisted of only front-end developers, site builders, web designers or anybody else who has experiences in front-end development but doesn't know too much about the back-end. This concept was (and it is still) absolute trivial from pure technical point of view because landing page-building was significantly simpler with help of Phormster. Nevertheless its first versions were too technical and sometimes not too user-friendly. Although our developers made a really good job, it was a creature of IT-brains.


"...relevant parts of system  were refactored and some new features were added"

Due to testing, bug fixing, fine tuning and several projects created in Phormster some relevant parts of system (e.g the whole template editor) were refactored and some new features were added. Therefore the system is capable of creating sophisticated PIWIK analytic about projects, is ready for A/B testing and users can share their project with each other. Besides dozens of widgets were implemented which can facilitate the working with Phormster and give the possibility to create trendy bootstrap-based landing pages for those who have neither advanced level front-end nor back-end skills.


"...an excellent tool for agencies "

Also the built-in flexible form editor can widen the target group. Therefore Phormster can be an excellent tool for agencies in managing campaigns and collecting registrations. As team work can be supported by project sharing function it can be a real alternative and ideal choice for them. In addition, our team in PhoenX IT stands in the background to give a hand in cases when help needed.


"...ideal tool for growth hackers and online marketers"

As you can see Phormster's target group is pretty wide and can be also an ideal tool for growth hackers and online marketers in supporting their daily activities. Of course surprises can take place during launching :) Anyhow, we can guarantee one thing: each remark or/and request coming from a user or a prospect will be checked and analysed by us and if they enhance the product, they will be implemented.

2015. március 17., kedd

What is our USP really?

We are working on phormster's start. The product is ready, now we are building the marketing around the service. We are a small company, therefore we are much closer to growthhacking methods as using sophicsticated marketing planning. On the other hand phormster's birth was not typical, there were no detailed market research or product planning. I had an idea, my colleague added some thoughts and our developers started the product. 

During one year the product changed many times due to the actual customers's needs and due to the lack of conseqvent product management (yes, I confess it, we've choosen the wrong guy for that) and turned into a completely different product compared to my original imagination.

After reclaiming the product management on the product I felt like a parent holding a foreign baby in his arms. It is beautiful, it is very agile and perfect; but it is not mine. And we started to get to know each other better.

Now I'm using it on daily basis and I always find some amazing feature in it (okay, consistently Robber or Zoli suprises me with some new features). Last week I felt we are ready to prepare the marketing package behind the product so we raised the question to each other: what is the USP of the product? And everybody says an other reason for that. 

Robber says, it has a Bootstrap Grid System based pro editor. Akos votes on the form features, because it has a conditional based form structuring and paging option with strong data validation. Zoli admits that the form builder is really a strong part in phormster but he emphasizes the advanced CSS and JS editing possibilities in template editor as well.


I was confused and scared: the main question was not the difference amongst phormster and the other landing page builder tools but what is the strongest part of the product? What will be the most important feature which will lend wings to our service? After several hours of deliberation we agreed in following: phormster is a professional landing page builder with extraordinary form features. 

Let's start with the product. Fingers crossed. :-)