Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #7197
      eflouret
      Member

      Hi,

      It seems that currently Piklist can’t show the uploaded image preview on a front end form before submitting it.
      It also seems that you can’t control the limit of the amount of repeated field gropus (Add More fields) in the front end form, again, before submitting it.

      For a frontend form those features are crucial. In fact without them the front end form in some cases is useless.

      The user should be able to see a preview of the image in the frontend before submitting. Also the form should limit the amount of group fields before submitting, not after.

      Is there a way to achieve that with extra programming? Is there a hook or something, or even a way using Javascript to add those two features?

      I’m not asking for a solution, but just a guideline or just point me in which direction should I go to achieve this.

      Thanks!

      Enrique

    • #7217
      jrcreative
      Member

      I would appreciate this, too.

      I have a front-end form with a file uploader, and an add-more field that I want to force to have a minimum of 3 items. The server side validation works fine, but a side-effect of server-side only validation is if they only put in 2 items and submit, it errors and comes back to the page wiping out everything that was submitted and they have to re-upload/enter everything.

      I see that there is a checkbox in piklist settings to use front-end validation, but it doesn’t seem to apply to these field types.

    • #7231
      Steve
      Keymaster

      We decided to implement server-side validation first because it’s way more secure than javascript validation. We plan on implementing both in the future.

    • #8343
      LEO
      Participant

      Steve, when does it come ?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.