Re: [WebDNA] Advanced search 'rq' problem

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110503
interpreted = N
texte = --Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Not exactly sure what you are after Tom but this may help: If visitors leave a field blank in a search form, WebDNA normally = assumes they do not "care" to search that field -- it acts as though the = field was not specified in the search criteria at all. If you want to = search for blanks (no text in the field whatsoever, not even a space), = you can override this behavior. Alternately, you can use the form FieldNameBLNK=3DT, which makes it = possible to use radio buttons or checkboxes to let the visitor decide = how they want to search for blank fields. If you want to apply this to = all the fields in your search at once, then set allBLNK=3DT. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 15/07/2013, at 5:42 PM, Tom Duke wrote: > Hi all, >=20 > Trying to build a fairly complex search form for a client. I am = trying to allow the client determine whether a particular search = criteria is required on a field by field basis. >=20 > Is there a parameter similar to 'comp' that I can use to set the = required status for a field. Something like: >=20 > &FIELDNAMErq=3DT >=20 > So in the form code I could have: >=20 > >=20 >=20 > Thanks > - Tom >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Not = exactly sure what you are after Tom but this may = help:

If visitors leave a field blank = in a search form, WebDNA normally assumes they do not "care" to search = that field -- it acts as though the field was not specified in the = search criteria at all. If you want to search for blanks (no text in the = field whatsoever, not even a space), you can override this = behavior.


Alternately, you can use the form FieldNameBLNK=3DT,= which makes it possible to use radio buttons or checkboxes to let the = visitor decide how they want to search for blank fields. If you want to = apply this to all the fields in your search at once, then = set allBLNK=3DT.


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 15/07/2013, at 5:42 PM, Tom Duke <tom@revolutionaries.ie> = wrote:

Hi = all,

Trying to build a fairly complex search = form for a client.   I am trying to allow the client determine = whether a particular search criteria is required on a field by field = basis.

Is there a parameter similar to 'comp' that I can = use to set the required status for a field.  Something = like:

    =  &FIELDNAMErq=3DT

So in the form code = I could have:

  <label><input type=3D"checkbox" = name=3D"FIELDNAMErq" value=3D"T" /> = required</label>


Thanks
- Tom


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Advanced search 'rq' problem (Alex McCombie 2013)
  2. Re: [WebDNA] Advanced search 'rq' problem (WebDNA 2013)
  3. Re: [WebDNA] Advanced search 'rq' problem (John Butler 2013)
  4. Re: [WebDNA] Advanced search 'rq' problem (Tom Duke 2013)
  5. Re: [WebDNA] Advanced search 'rq' problem (WebDNA 2013)
  6. Re: [WebDNA] Advanced search 'rq' problem (Tom Duke 2013)
  7. Re: [WebDNA] Advanced search 'rq' problem (John Butler 2013)
  8. [WebDNA] Advanced search 'rq' problem (Tom Duke 2013)
--Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Not exactly sure what you are after Tom but this may help: If visitors leave a field blank in a search form, WebDNA normally = assumes they do not "care" to search that field -- it acts as though the = field was not specified in the search criteria at all. If you want to = search for blanks (no text in the field whatsoever, not even a space), = you can override this behavior. Alternately, you can use the form FieldNameBLNK=3DT, which makes it = possible to use radio buttons or checkboxes to let the visitor decide = how they want to search for blank fields. If you want to apply this to = all the fields in your search at once, then set allBLNK=3DT. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 15/07/2013, at 5:42 PM, Tom Duke wrote: > Hi all, >=20 > Trying to build a fairly complex search form for a client. I am = trying to allow the client determine whether a particular search = criteria is required on a field by field basis. >=20 > Is there a parameter similar to 'comp' that I can use to set the = required status for a field. Something like: >=20 > &FIELDNAMErq=3DT >=20 > So in the form code I could have: >=20 > >=20 >=20 > Thanks > - Tom >=20 >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Not = exactly sure what you are after Tom but this may = help:

If visitors leave a field blank = in a search form, WebDNA normally assumes they do not "care" to search = that field -- it acts as though the field was not specified in the = search criteria at all. If you want to search for blanks (no text in the = field whatsoever, not even a space), you can override this = behavior.


Alternately, you can use the form FieldNameBLNK=3DT,= which makes it possible to use radio buttons or checkboxes to let the = visitor decide how they want to search for blank fields. If you want to = apply this to all the fields in your search at once, then = set allBLNK=3DT.


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 15/07/2013, at 5:42 PM, Tom Duke <tom@revolutionaries.ie> = wrote:

Hi = all,

Trying to build a fairly complex search = form for a client.   I am trying to allow the client determine = whether a particular search criteria is required on a field by field = basis.

Is there a parameter similar to 'comp' that I can = use to set the required status for a field.  Something = like:

    =  &FIELDNAMErq=3DT

So in the form code = I could have:

  <label><input type=3D"checkbox" = name=3D"FIELDNAMErq" value=3D"T" /> = required</label>


Thanks
- Tom


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_53CB760D-AC3C-42A6-9E7F-FACB584FAACA-- WebDNA

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

two domains and one cart and database (2000) Weird Math (2000) webcat restarting script on Linux? (1999) Return records from another (1997) Referrer field to header field conversion (1997) Include a big block of text (1997) SiteGuard Admin Feature ? (1997) Help!!!! (1997) CyberCash Transaction Cost (1999) Help formatting search results w/ table (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCatalog not recognizing ShoppingCarts folder (2000) Letters as SKU (1998) Plugin or CGI or both (1997) OT Cookie limit (2001) 2.0Beta Command Ref (can't find this instruction) (1997) Searching Relational Databases (2004) The beginning (1997) WC 2.0 frames feature (1997)