was curious if there was a way to get the gem wicked to have the same url as the starting controller.
So, currently, if I start with the route www.example.com/customer/new, then the wicked gem sends me to www.example.com/customer_steps/first.
But…
I have a form and I want to make a submit button that submits the form but ALSO shows a new(blank) instance of the same form. How can I accomplish this? I am using the wicked gem to make steps and I thought I could do this...
<%= link_to 'Add…
Right now I get this error message when the submit.html.erb loads: Cannot charge a customer that has no active card.
I want to understand how I can improve my controller. The goal is to not have the error message when the submit page loads. But only…
I am using rails to make a feature designed for uploading CSV's and then taking the CSV's and making rails objects w/ them (i.e. 1 csv row equates to an object in the database). Right now, this is a 2 step process.
I am using the wicked gem for…
Been trying to figure out how to get a Multi Step form for an object a user will build using Wicked Wizard gem. I have been following the docs on the gem's github and this question on that Scheem's answered himself, but I am getting a forbidden…
This is likely a debugging problem more than anything else, but I'm losing a flash message between Devise's after_sign_up_path_for and the beginning of a Wicked wizard. I've tried multiple placements of flash.keep to no avail.
Is there any way to…
I've been going round in circles all day with this. I have a large multi-step form using the Wicked gem and Ruby on Rails. It works perfectly but I can't figure out how to to get back into the form to edit individual entries.
Iim trying to make the…
I am using wick for a multi step form, steps are created dynamiquement like this:
include Wicked::Wizard
before_action :set_steps
before_action :setup_wizard
def set_steps
self.steps = Answer.pluck(:cached_slug)
end
So far so good,…
When i create a task an ajax function is called to send a specific params data. It was working very well. Then i've installed "wicked_pdf" and "wkhtmltopdf-binary".
After learning that on windows I have problems with this tools, i removed them by…
I am using Wicked to create a multi page webform. However, i need to use multiple tables in that form. I succeed using one and have gotten the page for the second table to show up nicely. However, when i try to save it, it gives this…
I am following this tutorial to create a multi-step form using the Wicked gem. Each User has one Answer (model to store answers to a set of questions), and I have a QuestionnaireController that steps through the questions that the user will answer…
Okay, 1 more then i am hopefully done.
I am using Wicked for multi page forms in which i also want to use multiple tables from a mysql database.
So i created a second table and form, however, the form wont show the input fields for that second…
I am trying to build a multi page form based on Wicked for a system that we plan on using.
However, after i added the 3rd form page, that is used to fill a second table in the database i get the error listed below.
I already tried adding and…
I have a bit of a complicated wizard and I'd like to route the user based on their entries to the form.
I have listed the steps as follows:
steps :weight_loss_history, :health_conditions, :cancer, :weight_mindset, :diabetes, :diet_information,…
When creating an object with partial validations like here, Wicked requires the object id in the url -
http://localhost:3000/pets/1/steps/identity
Does this mean that anyone can type this route and modify the data?
I need the form to be filled in…