Skip Navigation

[Resolved] In search result page, form not displaying

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 26 replies, has 3 voices.

Last updated by Shane 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#917940

I am trying to: display form

Link to a page where the issue can be seen:
Not working at hidden link
I expected to see:
Working at hidden link
Instead, I got: Empty

#917941

Dear team
Thanks for this amazing plugin. I bought this before also but don't remember my that account so had to buy again with this account because facing problem

I am trying to put shortcode but it's not appearing.
Please check hidden link
"Send a request" button is in pop-up and between "Form start here" & "Form end here" is CRED shortcode in php...

===================================================
But on all other pages and places, its working
eg. hidden link
(At bottom when you click on "Click here", the popup form is CRED form.)

Waiting for your reply
Thank you a lot

#918034


between "Form start here" & "Form end here" is CRED shortcode in php...

Can you show me the PHP code you have used? Please copy + paste it here.

#918050

Hello,Thanks for your reply
This code I am using

Form start here
<br><br><br>
<?php echo do_shortcode('[cred_form form="apply-in-search"]'); ?>
<br><br><br>
Form end here

Thanks

#918085

Thank you, this looks okay. May I log in to your wp-admin area to see how things are set up? Please provide login credentials in the private reply fields here.

#918101

I can't help you modify core Jupiter theme files, sorry! Can you create a child theme?

#918155

Hello
I have update the child theme. Please check
Please fix it, I really need it.
Thanks

#918323

Check now, I have copied the parent theme's wp_search.php file to your child theme and inserted the Form using the cred_form function:

cred_form(5370);
#918423

Hello,

1st, it's bit same what I was wanted but was wanted in popup but it's bottom of page, also ok..
2nd thing, I was wanted auto filled detail in two fields
"Where to study" and "Your field of interest".
In wp-search.php, "Where to study" should have country field which is "$tt->name" and "Your field of interest" is search keyword which is "get_search_query()" in wp-search.php

Please check and see how can do auto fill in it?

Thanks

#918430

You can set the values in a Form using URL parameters or by inserting custom shortcodes in the cred_field value attribute, but there is no public API for setting field values using PHP or JavaScript. We have documentation for the Form field shortcode available here: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
You can see how to use URL parameters or the value attribute to set a field value.

#918447

Hello
Thanks for your reply
I am not getting it :'(
Can you please help in it.. :'(

#918478

Here is an example showing how to set the value of a field using a static string:

[cred_field field="weight" post="package" value="12345"]

Here is an example showing how to set the value of a field using a custom shortcode:

[cred_field field="weight" post="package" value="[my-custom-shortcode]"]

Here is an example showing how to set the value of a field using a URL parameter:

[cred_field field="weight" post="package" urlparam="weight"]

Link to this form with a URL parameter like this:
http://yoursite.com/page-with-form/?weight=12345

#918855

Hello
I tried but didn't work.. I think shortcode one will be best solution but I don't know how to make it.. That's why we buy Toolset because we don't have that much coding skills..
Can have any solution please?
Thanks

#918936

Is there any way to create $tt->name to any shortcode? so I put it in the form in value?
Thanks

#918956

I tried but didn't work..
Copy + paste the code from the Form builder for me to review.