mercredi 6 septembre 2017

Laravel - Creating a website to imitate estimatemyapp.com, can't get input from radio buttons and checkboxes?

I'm currently stuck on how to get input from radio buttons and check box and calculate their value? enter image description here

                                                   <h1>5.
 Dates & Locations</h1>
                                                    @foreach ($dates as $product) 
                                            <li>
                                                  <input type="radio" name="get" id="" value="" />
                                              <label for=""><img src=""></label>
                                            </li>
                                            @endforeach


                                                   <h1>6. Social & Engagement</h1>
                                                    @foreach ($social as $product) 
                                            <li>
                                                  <input type="checkbox" name="5" id="" value="" />
                                              <label for=""><img style="border-radius:50%;" src=""></label>
                                            </li>
                                            @endforeach

                                          <span id="price" data-format="$ 0,0[.]00" data-formula="($1+$2+$3+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24)+(($4+$5+$6)/100*($1+$2+$3+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24)) " readonly="readonly" class="readonly">$ 0</span>
                                          </form>
                                          </div>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire