- Home
- Coding concepts
- Special screens
- Available features
- More
- Translation
- Testing
- Deployment
- Differences in Locify 0.8.5
- Sample services
- Example videos
Confirmation
Confirmation screen asks user a question. If he answers Yes, given URL is called, otherwise is redirected to previous screen.
Format
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en"> <head> <title>Confirmation</title> </head> <body class="confirmation"> <div> <p class="text">Confirmation-question</p> <a href="Confirmed-url" class="yes">yes</a> </div> </body> </html>
Parameters
- Confirmation-question - Text of question to user
- Confirmed-url - Url, which is called if user answers Yes
Example
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en"> <head> <title>Confirmation</title> </head> <body class="confirmation"> <div> <p class="text">Do you want to delete all your cool data?</p> <a href="http://www.mycoolservice.com/delete" class="yes">yes</a> </div> </body> </html>
How it looks like

