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:

[WriteFile] problems (1997) Help Encrypt/Decrypt eMail (2003) If Empty ? (1997) Frames and [cart] (1998) affiliate marketing program (1998) Default contains WEBDNA (1998) [sendmail] sending twice... (Update) (2003) Emailer (1997) RE: Cart Template (1997) Sku numbers (1997) WebDNA CAPTCHA (2008) [addlineitems] display (1997) Problem with ShoppingCart.tpl refresh (2000) Choices (2000) default error on NT? (1997) OT: Limit on # of Pulldown entries (1997) RE: [WebDNA] DB help (2011) webcat2b12 CGI -- Date comparisons (1997) Missing custom convert.db (1998) OT - New Ti Books (2002)