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:

[WebDNA] test (2013) IE Cache Problems... (1999) Setting up shop (1997) [table] retained in memory (2006) Webdna Email and Plesk Control Panel (2005) NT Manual (1997) PCS Frames (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) Re[2]: Re[2]: Re[2]: OT: Amazon Patents (2000) Editing Users.db (1997) Multiple Passwords (1997) Multiple catalog databases and showcart (1997) Loss in Form (1998) Close-to Comparison Code (1998) Sitebuilder / StoreBuilder - *related.db* (2008) cart (1997) WebCatalog 4.0.1 has been released! (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Search design (1997) PCS Frames (1997)