Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Form fields not publishing

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 6929 Views
  • shauna
    Avatar
    Community Member
    7 Posts

    Form fields not publishing Link to this post

    Hi all

    I am creating a Contact Us form page in SS with multiple text fields (name, address, phone etc) all up there are approx 10 text fields. After creating, then publishing, the published page only has some of the text fields. I have tried flush=1, deleting and reinserting, renaming, reordering the fields but I can never get all the fields to publish, it seems to be a max of 2 fields on the published site at any time.

    Is this a database/config issue? Anyone have any ideas? Thanks

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: Form fields not publishing Link to this post

    I ran into this error too. I can make forms fine on localhost, but when I try to make one on my web server, I get only a few of the fields.

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Form fields not publishing Link to this post

    Yep, same experience here. But the following might work: while constructing your form, hit the save button after each change you make. So, if you have a form with five textfields for instance, hit save after you have created each textfield with its properties set...

    HTH

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Form fields not publishing Link to this post

    Have experienced the exact same behaviour in the past... so subscribe

  • shauna
    Avatar
    Community Member
    7 Posts

    Re: Form fields not publishing Link to this post

    thanks all and dio5..subscribe to....??

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: Form fields not publishing Link to this post

    He meant that he posted a message to this thread just to be able to "subscribe" because the forum does not allow you to do this without posting some message it seems... ;)

  • shauna
    Avatar
    Community Member
    7 Posts

    Re: Form fields not publishing Link to this post

    Hi all

    I have found a solution to this issue. Enter one form field at a time and after each, save/publish the form AND ALSO refresh the form/CMS browser page. I don't know what is causing it but there appears to be a caching/refresh problem whereby it looks like you are adding new form fields into the SS but you actually are not. The CMS form page refresh shows exactly what has been entered and retained by the CMS and consequently publishes. Hope this helps others with the same issue

  • markorton
    Avatar
    Community Member
    4 Posts

    Re: Form fields not publishing Link to this post

    I have tried this "save" cycle idea. The current problem is that I can only get three input boxes on my form page. Would like to solve this.

    Mark

    6929 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.