Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Front-end edit selection missing check 28 Jul 2016 14:59 #14337

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Hello Admin

The checks for an item selection is missing from all front-end grids. This means that if the user clicks "Edit" without selecting an item the component behaves like it would for new items.

Please revisit this in the builder.

Warm regards
vlemos

Back-end check:
onclick="if (document.adminForm.boxchecked.value==0){alert('Please first make a selection from the list.');}else{ Joomla.submitbutton('demoitem.edit')}"

Front-end code
onclick="return Joomla.submitform('demoitem.edit');"

Please Log in or Create an account to join the conversation.

Front-end edit selection missing check 02 Aug 2016 10:26 #14343

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed now.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.079 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started