Version 4.1.0. New form and validation class 😎

9.69K viewsUpdatesanspress-4.1.0 new-release
5

Hello Friends,

I have written a blog post on our new form and validation class, have a look New form and validation classes introduced in AnsPress 4.1.0.

I think most of people are unaware about our upcoming version 4.1.0. We have been working on this for 3 months. We did not add new features, but instead we focused on improving our existing functionalities. Few major changes are:

  1. Improved form fields and validation. Added new fields type like upload, repeatable, group, editor, etc. Using this new form class, it will be lot more easier to add fields in question/answer form. Also adding new field types will be lot more easier then before.
  2. All pages of AnsPress is now following WordPress template hierarchy. Single question page behave like an actual single page. This change in AnsPress will make sure that 3rd party plugin and widgets will work as expected.

There are over 100+ changes made to this version but it will not require upgrade process like it was done while upgrading from 3.x to 4.x. No special steps requires while updating. A detailed changelog will be added in our blog section once we release a beta version.

We are not pushing our commits to master branch anymore as it breaks other dependent sites. You can find our development branch here: https://github.com/anspress/anspress/tree/4.1.0 or it can be updated following this steps How to update AnsPress from GitHub repository?.

We request the developers to test this new version. It will help us release new version as soon as possible.

Thanks for choosing AnsPress.

Regards,

Rahul Aryan

——————————————————–

Can we request for a help? If you have not starred our GitHub repository yet then visit this link https://github.com/anspress/anspress and give us a star. We will always grateful for your love and support. Below is a screenshot to help you find the star button ?

1

I finally got some time to customize my template and even play around with AnsPress metadata: so much easier with this 4.1 version! Thanks!

0

Hi Rahul! I just install GitHub Updater but how can upgrage Anspress to 4.1.0 beta? 🙂

In the document just says install it, i’m loosing some steps ahaha

commented on answer

Hello, You have to check Enable Branch Switching. And then set 4.1.0 branch.

1

Great, I’ll try it as soon as possible! 😀

commented on answer

Should I push my commit to the master branch or to 4.1.0 then?

Please avoid pushing to master branch. Thanks

0

just give to you a Star at Github repository…..

question: can i download and test the 4.1.0 version?

commented on answer

Yes, of course. Link included above.

i download Anspress from the link but into the wordpress-dashboard-plugins is shown as “Version 4.0.5”. How can i add new fields type into the question/answer form?

@papa_mak i don’t think this is ready just yet as far as I know.

@itomhq : you said that version 4.1.0 is running live on your site. i want to test this version like you….

You see old version in dashboard because our readme is not updated.

thanks Rahul, how can i add new fields type into the question/answer form? is it possible or i must wait the final 4.1.0 release?

Yes you can. Currently I am writing documentation for adding custom fields.

1

4.1.0 is actually running live on my site https://www.phenomlab.com/community (I love a challenge :)) for those who fancy a sneak peek.

@rahul – Star given 🙂

commented on answer

Thanks a lot. But I will recommend updating live site after 15th October.

Thanks Rahul. I’ve dropped all data from AnsPress as it was old anyway. I’m starting up a new mentoring / q&a platform for those looking to get into the IT industry, so the paradigm of the site will be changing a lot.

Its a good move. Feel free to chat with me, I will share my experiences as well.

Thanks Rahul. I intend to “showcase” AnsPress on https://www.phenomlab.com/community, as it will form the basis of the Q&A platform I’m looking to setup. A bit more about the site can be found here https://www.phenomlab.com/ in the middle of the page. Essentially, this will be my way of giving something back.