proposalspot Posted July 6, 2011 Report Share Posted July 6, 2011 Hi, How do I pass more than one fieldname (value) for a paramenter? Can someone please tell me how to do this or if it is even possible? Syntax: http://www.site.com/page.html?parameter1=[@field:fieldname1]&[@field:fieldname2]&[@field:fieldname3] Example: http://www.mysite.com/search.html?Anima ... cats&birds Thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 Aariel Posted July 7, 2011 Report Share Posted July 7, 2011 Hi, You have: http://www.site.com/page.html?parameter1=[@field:fieldname1]&[@field:fieldname2]&[@field:fieldname3] . All the values after '=' is assigned as a value to 'parameter1' . Since you are passing parameter from the URL, I think you would like to receive it somewhere Right? You can pass different values as different parameter. For eg: http://www.site.com/page.html?parameter1=[@field:fieldname1]¶meter2=[@field:fieldname2]¶meter3=[@field:fieldname3] Quote Link to comment Share on other sites More sharing options...
0 proposalspot Posted July 7, 2011 Author Report Share Posted July 7, 2011 Thank out for the response but I would like to pass more than one value for parameter1. Is that possible? Quote Link to comment Share on other sites More sharing options...
0 Aariel Posted July 9, 2011 Report Share Posted July 9, 2011 Hi, In order to obtain something like: http://www.mysite.com/search.html?Anima ... cats&birds You can insert an HTML Block in your DataPage and include following line in that HTML Block. click to pass file field Quote Link to comment Share on other sites More sharing options...
0 proposalspot Posted July 11, 2011 Author Report Share Posted July 11, 2011 Thanks for the reply Aariel but when I try it that way the datapage will only display the first fieldname. The second and third fieldnames do not get included in my results. Im not sure if I am doing something wrong in my receiving datapage or not but I hope there is a solution to this problem. Quote Link to comment Share on other sites More sharing options...
0 bahar_vm Posted July 12, 2011 Report Share Posted July 12, 2011 Hi there, The URL format should be as below: http://www.site.com/page.html?parameter1=[@field:fieldname1] OR [@field:fieldname2] OR [@field:fieldname3] And in your DataPage you need to select the Comparison Type as "Contains". Here is an example: http://bridge.caspio.net/dp.asp?AppKey= ... san%20jose Best, Bahar M. Quote Link to comment Share on other sites More sharing options...
0 proposalspot Posted July 12, 2011 Author Report Share Posted July 12, 2011 Awesome Bahar. Thank you very much. I knew it was possible. Do you have to have the space before and after "OR"? Either way I am going to try it out tonight! Thanks again! Quote Link to comment Share on other sites More sharing options...
0 Aariel Posted July 12, 2011 Report Share Posted July 12, 2011 Thankx to both of you. I will also think to use this feature somewhere... forums are great.. Quote Link to comment Share on other sites More sharing options...
0 bahar_vm Posted July 12, 2011 Report Share Posted July 12, 2011 You are very welcome! You need to have the space before and after OR and remember the OR must be all caps. Best, Bahar M. Quote Link to comment Share on other sites More sharing options...
Question
proposalspot
Hi,
How do I pass more than one fieldname (value) for a paramenter? Can someone please tell me how to do this or if it is even possible?
Syntax:
http://www.site.com/page.html?parameter1=[@field:fieldname1]&[@field:fieldname2]&[@field:fieldname3]
Example:
http://www.mysite.com/search.html?Anima ... cats&birds
Thanks in advance.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.