I am using the wicked to create a multistep wizard. I want to use AJAX so that i can step through the form without having to reload the page. I can't find anything online about how to do this. Has anyone done this before?
How it it possible to implement a wicked gem wizzard and add steps dynamically:
- first step => select country
- second step => select select city
- other step => display shops listsbased on the previous 2 selections.
It seems like we can add it…
I am making a multi step form in Rails 3.2 , the problem being i get to see the fields generated in the sign-up process but i am unable to update them in the second step . I have looked into Ryan Bates's video but mine is a bit complex . The basic…
I'm trying to get the Wicked Wizard gem working on my Rails app. Once a user registers for the app (using Devise), they're redirected to this form:
income.html.erb
<%= form_for @finance, url: wizard_path, :method => :put do |f| %>
I am using the wicked PDF gem and to load the styles for my page it works like a charm, it loads the styles and the content
The problem is when I want to attach a pdf in Mailer, the wicked_pdf_stylesheet_link_tag "pdf" styles don't want to load, and…
I'm confused about the pattern someone would use to replace an item in the dom using turbo streams in combination with wicked wizard using the "show action". In my scenario, I'm trying to replace a nested turboframe "foo" that exists on step_b using…
I'd like to have the table 100% horizontal and the attached image there is space both on the right and on the left
I applied css styles, margin, padding 0 and nothing works for me. I even put width 100% !important to the styles
If someone knows how…
Context
I'm new to app development in Rails so please let me know if I am missing something obvious about saving/storing states in Rails. I'm using the Wicked gem in my app to guide users through a medical assessment that has the following…
I'm new to programming in Ruby but my code for validation is not occurring at all in the first step of my wizard after logging in. My validation for the two extra fields work for the initial screen but the remaining fields it doesn't work at all? …
I would like to change the top margins ONLY for the second page of an auto-generated .pdf. It is created via the WickedPDF gem (https://github.com/mileszs/wicked_pdf). The auto-generated pdfs all differ in length and the second page content is not…
My use case is I have a wicked Wizard and its the registration model
First user have to register his account am using devise
A confirmation mail will be sent to the user's inbox.
after successful confirmation user will be redirected to the…
I am a newbie to ruby and rails.
In my Rails app, I am trying to use Wicked Wizard gem and need some help in Understanding about the cattr_accessor which I have come across in the code
create_table "pets", force: :cascade do |t|
…
I have a multi-step form that creates a Post and its Topics.
class Post < ActiveRecord::Base
has_many :post_topics
has_many :topics, through: :post_topics
end
class Topic < ActiveRecord::Base
has_many :post_topics
has_many :posts, through:…
I've seen some similar questions to this but nothing relating to using the Cocoon gem with the Wicked multi step form Gem in with Rails. The form saves fine when I have a has_many association but when there is a has_one association (Client has_one…
I want to create a wizard in js.
steps :first_step,
:second_step
In my 'controller_step'
def show
case step
when :first_step
@r = R.new
when :second_step
end
…