We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28121
    • 107 Posts
    I’m hoping to remove the default ’Search’ text that appears beside my Simple Search Form.
    On Ajax Search I had used something like &showInrto=`0`

    Is there a similar parameter for SimpleSearch?
    Thanks
      • 19132
      • 199 Posts
      Click on SimpleSearchForm in the snippet are of Revo.
      Create a new property
      Edit the searchIndex value

      Modify your snippet call to:
      [[!SimpleSearchForm@MyPropertySetName]]

      1 Issue I’ve found with this so far:
      You need to modify your CSS to have an input:focus to wipe the form clean, so to speak
        MySQL: 5.0.45
        PHP: 5.2.6
        Linux 2.6.9-023stab048.6-enterprise #1
        cURL enabled
        PDO enabled
        FFox Apple 3.6.8
        Firebug DIS-abled
        • 34183
        • 23 Posts
        If you are using your own template call you can use an Output Filter on [[+searchValue]] in the input tag.
        value="[[+searchValue:default=`My Custom Default Value`]]"
        


        I usually couple that with some show/hide javascript to make it a little fancier. Here is the full thing.
        <input type="text" name="[[+searchIndex]]" id="[[+searchIndex]]"  value="[[+searchValue:default=`My Custom Default Value`]]" onfocus="if (this.value == 'My Custom Default Value') {this.value = '';}" onblur="if (this.value == '') {this.value = 'My Custom Default Value';}" />