Friday, 6 October 2017

Pagination

How to create Pagination in AXURE

Step - 1 -  First create Repeater.

- From Libraries Place Repeater in Canvas, Name the Repeater ,  In Properties Tab scroll down and check Repeater , Add Column and Row and Create table with all filled up cell


Step - 2 - Double click on Repeater cell, it will open in new tab


Step - 3 - Name the cell / box and create more cell / box as per created table (header) Data like 

here ID, Name, Description, Image, Price.


Step - 4 - Place the Box and arrange all cell / boxes over the Box / Placeholder


Step - 5 - Select the Repeater and using  Style tab make it interactive, Like here removed border from the cell / boxes. 


Step - 6 - Select the Repeater -> In Properties tab click on case 1 to Edit.

In Case Editor -> Click to add actions -> Widgets -> Set Text 

Configure actions -> Checked Name , and below Set text -> Value and click on "fx"

here set text to Price, Name, description, Id already done


Step - 7 - Click Insert variable or Function -> In Dropdown -> Select -> Item.Name

Repeat the same step for Price -> Item.Price, and description so on.


Step - 8 - For Set the image 

Click to add actions -> Widgets -> Set Image 

Configure actions -> checked - set image

Default -> Value and click on "fx"


Step - 9 - here also same select Item.Image


Step - 10 - Now all table data is loaded in Repeater except Image, First arrange the box size because description text is overflow


Step - 11 - Increase the box size as well as using Style tab make border : none as well as click on box which is as per given name like Id, Name . and select the box and click on font Bold and can change the font size, color and alignment.


Step -12 - Now add shadow using the same Style Tab.


Step - 13 - Now Place the image -> select the Repeater, in Properties tab Repeater Table -> Right click on Image cell and import image.

Here the image size will be same as per given in repeater.


Step - 14 - Now Images are loaded, Start working on Pagination element. pagination need Next , Previous Icon as well as label for Page count as well as total page count.

Place Next , Previous arrow Icon and Label .



Step - 15 - For adding case to Next and Previous arrow

Select Previous arrow icon and in Properties tab click on "OnClick" and add case in Case
 Editor, In Click to add actions -> Repeaters -> Set Current Page 
Configure actions -> Checked to Repeater, bottom -> Select the Page -> Previous and OK

Do same for Next Arrow Icon Here In  Select the Page -> Next and OK



Step - 16 - Adding Page Cont -

- Select the Repeater and click on Case 1 to Edit - In Click to add actions -> Widgets -> Set Text

- Configure actions -> Checked Page No label, In bottom click "fx"


Step -17 - In Edit Text window -> Click on Insert variable or Function -> Select Page Index and Select Page count.


Step - 18 - Now arrange as per page no Label format, like Page index / Page Count and click OK



Step - 19 - Now Preview 



Thanks.

Thursday, 5 October 2017

Login page with Validation

How to create login page with validation

Step - 1 -  First create interactive login Page follow the below image steps


Step - 2 - In Properties -> Style Tab -> Shadow , Border : None , Radius : 5


Step - 3 - Now Place the Text Field and Submit button in the login Page , Name all text field and button properly.

In Properties Tab select Text field Type if User name - text, or Password choose Password. and finally select the button as submit Button.

Link with button is important because, on click of button it will show the error message. 


Step - 4 - place the Label and write the Error message and convert it as Dynamic Panel


Step - 5 - Make the Error Message as hidden


Step - 6 - Now hide border form the Text Field to make interactive design


Step - 7 - Now Place the Horizontal Line with the same width of hidden Text Field.

Use of Guides to make it as same width Horizontal Line. 


Step - 8 - Place the Label and name it as same , it will be treated as floating label, while click on the user name text field it will appear.


Step - 9 - Now create new Page as welcome, if the login is success then it will open welcome user as popup window.


Step - 10 - Select the hidden Text Field and In Properties tab -> click "OnFocus" to add case


Step - 11 - In Case Editor -> Click to add actions -> Widgets -> Show/Hide ->

Configure actions -> Checked Floating name

Animate -> Slide left (or any animation)

Then OK

Do the same for Password Text field same 


Step - 12 - Button actions - Select the Button in Properties -> click "OnCliock" to add case


Step - 13 - In Case Editor click on Add Condition - Select Text on Widget - from dropdown select txt_username - and write value as userName as below image it is RAM then click on Add icon and do same for Password then click OK


Step - 14 - In the same case -> Click to add actions -> Open Links 

Configure actions -> Open in Popup window -> Select the welcome page then click OK


Step - 15 - Add Error Message ->  In Properties click "Add Case"

Case Editor -> Click to add actions -> Widgets -> Show/ Hide 

Configure actions -> Select Error Message and Click OK


Step - 16 - Preview it see if Do not fill any details and click OK it will show error message / if not fill up the right credential then also showing error message.

After fill up the right credential  and click on Submit Button the PopUp window is open as Welcome Page


Thanks.

Wednesday, 4 October 2017

OnLoad Image Slider

How to create OnLoad Image Slider in Axure

Step - 1 - Place the image from Libraries and set height and width


Step - 2 - Convert to Dynamic Panel


Step - 3 -  Name the dynamic panel and create the duplicate state for image slider


Step - 4 - Click on State 1, 2, 3 and change the image


Step - 5 - Select the image_slider dynamic panel , In Properties tab -> click "OnLoad"


Step - 6 - in Case Editor -> Click to add actions -> Miscellaneous -> Wait

In Configure actions -> wait - 2000 ms and click OK



Step - 7 - In Same Case 1 add other actions -> Click to add actions -> Widgets -> Set Panel State

Configure actions -> Checked "image_slider"

Select State -> Next , checked "Wrap from Last to First" , Repeat - 2000 ms and click OK





Step - 8 - Now Preview slider is working well as OnLoad / Auto sliding image


Step - 9 - Now Add bullets which indicate which image is sliding currently.

Take Box from Libraries and place it on the Image_slider Dynamic Panel and make it rounded and opacity (less ).


Step -10 - Place circle in the round  and make it 3 and align it Properly.


Step - 11 - Now Convert all circles /  Bullets to Dynamic Panel


Step - 12 - Name the Dynamic Panel as "Controls" and create total 3 States (make duplicate state)


Step - 13 - Change the color of circle in three different state like state 1 color of first circle is blue and remaining color are white. do same for three states - state 1 - 1st circle , state 2 - 2nd circle as so on.


Step - 14 - Now select image_slider Dynamic Panel and click on case 1 to add more case for controls


Step - 15 - In Case Editor -> Click to add actions -> Widgets -> Set Panel State

Configure actions -> Checked - "set controls"

Select state -> Next and checked other 2 more check box and Click OK



Step - 16 - Now Preview Image slider is working well as well as bullet is show the current image (indicating the current image)


Thanks.