latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Robert Baptie

Interested in developing c# code for forex operations and php wordpress s2member for front end


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Access the custom reg fields with java script

By:  Robert Baptie in: Community Forum

voices: 2
replies: 5

4 years, 4 months ago  Eduan

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Access the custom reg fields with java script

By:  Robert Baptie in: Community Forum

voices: 2
replies: 5

4 years, 4 months ago  Eduan

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Friday Aug 24th, 2012 at 2:38 am #22920
Robert Baptie
Username: bapo

Eduan

Isn’t that server side coding in php – I need to be able to access the fields (specifically country_id as specified through s2member interface), through java script on the client before the form is submited?

My problem is what file to locate the javascript so that it is recoignised and runs on the page. This should be easy?

Any help here appreciated.

Posted: Thursday Aug 23rd, 2012 at 2:31 am #22808
Robert Baptie
Username: bapo

It is the standard s2Member registration page with some HTML custom ‘select’ lists added via the s2member dashboard. The code above populates one of these lists. The name is country and the id specified in the dashboard is country_id. The list allows me to select elements from it but I need to populate a further list on the page (using javascript – jQuery), before I hit the registration form accept button. The first list is countries of the world – the second list must be cities associated with this country. This – I think – should be a straight forward thing to do?

Viewing 2 replies - 1 through 2 (of 2 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.