You need to sign in to do that
Don't have an account?
Jessica Mock
Salesforce1 page changing to Desktop
I created visual force pages for home that contains two buttons 1 for searching and 1 for creating new contact. I created this for Salesforce1. I added this code for global search
<form action="/<community name>/search/SmartSearch" method="get">
<input id="phSearchInput" type="text" name="str"/>
<input type="submit" value="Search"/>
</form>
The problem I have is that it take me out of mobile and into desktop. How do I stay in mobile?
<form action="/<community name>/search/SmartSearch" method="get">
<input id="phSearchInput" type="text" name="str"/>
<input type="submit" value="Search"/>
</form>
The problem I have is that it take me out of mobile and into desktop. How do I stay in mobile?
So you can use javascript or jquery to perform the validation and use Salesforce Navigation (http://www.salesforce.com/us/developer/docs/salesforce1/Content/vf_dev_best_practices_navigation.htm) for redirection!