Skip Navigation

[Resolved] View list with checkbox for select rows and update selected rows submit

This support ticket is created 5 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 26 replies, has 3 voices.

Last updated by Luo Yang 5 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1353897

Can you add the links to the pages you mention?
In "home" (Homage) I cannot find the mentioned date filters.

I can also not find any "evaluation system" section or page.
I see several events (planner and webinar)
I think these are the events you mean that related to Wisteria?
hidden link

If you can add the links below each of the listed points you made, that will help me to immediately reach the places and Views and forms involved again.

Then, this will also help in future in case the ticket will remain for a while untouched as it was in past.

I truly apologies the delay, it is like a "new" ticket right now, I am sure you understand this.

Thank you!

#1354701

I see a 503 temporary unavailable on the hidden link link

I can also not access hidden link

Can you update this ticket when the services are back?

Thank you

#1354787

Hi Beda

Sorry about that our staging site shuts down overnight, it should always restart in the morning. Out IT guys have not got round to fixing it.

Anyway it back up now , so you should be ok.

Tony

#1354829

I was able to login and follow the steps from here
https://toolset.com/forums/topic/view-list-with-checkbox-for-select-rows-and-update-selected-rows-submit/page/2/#post-1353885

After "4. Click the Task Link" I am redirected to
hidden link

Then it says "5. On your right click list delegates and which you should have 2".
When I click "List Delegates", I am lead to
hidden link

I am not sure why I needed to navigate here.
The next step says I should go back to the event and instead select Bulk Email request Delegates
That leads me to
hidden link

There I can see the checkboxes.
When I tick them all or just one, I see no form.

So I understand this is where we need to start:
hidden link

That View is producing the things we discussed several months earlier in this ticket:
hidden link
It produces that list, where you want to check the single rows.

But it does nothing else of what I recommended in my previous elaborated explanations.
https://toolset.com/forums/topic/view-list-with-checkbox-for-select-rows-and-update-selected-rows-submit/#post-1298573

We discussed there we need a target page (back then delegate-update-results) where the form to edit RFG will be inserted.
I miss that page.

That form should get the ID of the RFG that you want to edit from the [wpv-search-term param="post_ids"] shortcode.

I can see your view has the code to point to the URL:
<input type="checkbox" name="post_ids" value="[wpv-post-id]">

Whenever it leads to that one page with the RFG form, it will pass many ID's of RFG in the URL but the form will show only the latest of them.
Then, our code, it gets the URL parameter and does the same action for each of those posts.

We pass the ID to the form in a Form Field, as described, and need that in the code later, I do not see this done either on the site.

Can you please consult https://toolset.com/forums/topic/view-list-with-checkbox-for-select-rows-and-update-selected-rows-submit/ and implement those things set by step, and if that does not work, can you link me to each step where what was inserted/done?

I can then quickly see what is missing.
Right now for once I think the form is missing the ID's field as suggested and something does not reload the page when selecting the View's outputs (checkboxes)

I had actually tested that solution locally I recall now, so the issue can not directly be the "logic" but rather a missing step.

#1354833

Hi Beda

I can see you are in.
If you wanted to add yourselfs as a delegate/s for testing purposes you are welcome to do so.
As this is just a staging.

so you will need to add 2 delegates where the email addresses are where you can get the email notifications.

Hope that helps
Tony

#1354855

Please see my reply above yours, it seems we crossed reply 🙂

#1357051

Hi Beda

This is where it takes me when i select the delegates to be updated
hidden link

But when I tick the email request box and click update it only updates one delegate.

I am not sure what i am missing .

Tony

#1357625

Dear Tony,

Beda is on vacation, I will take care this thread, I have tried the URL you mentioned above, but get 503 error, can you check it?
Make sure the website is live and ready for debug, you can also provide a copy of your website, I can also test and debug it in my localhost.
https://toolset.com/faq/provide-supporters-copy-site/

#1357691

Hi Lou

The staging site is back online, so you should be ok to access
You have the login details already

Thanks
Tony

#1357745

Thanks for the details, I have done below modifications in your website:
1) Edit the post form "Update Selected Delegate"
hidden link

add your custom shortcode [url-query] just above [/credform], so it will be output the field insider HTML form tag, after user submit the form, it will pass post parameter to target page.

2) Edit your custom PHP codes "bulk_email_request_update":
hidden link

Replace this line from:

if ($id != 0){

To:

if ($id != 0 && !empty($id)){

Please test again, check if it is fixed.

#1357805

Hi Lou

That has fixed it and it works well... Thank You.
I would like to close this ticket and start a new one as i have another question which is related

1. On the hidden link page how can i have a select all ?

That would be a great help

Thanks
Tony

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/how-can-i-have-a-select-all/

#1358373

Dear Tony,

As your request, I have created another new thread for the new question:
https://toolset.com/forums/topic/how-can-i-have-a-select-all/

Please close this thread and follow above one.