Form: How to set input to mandatory?

From semantic-mediawiki.org

In a form I have a field with input type=googlemaps.
How can I force users to fill this field?
I tried adding |mandatory but this didn't work.

If a user doesn't add a location/coordinates, the form seems to be stuck after hitting "save" and the page is not saved...

Thanks for any help!

09:05, 13 April 2013

Hi, I have the same problem as Stefahn :

If a user doesn't add a location/coordinates, the form seems to be stuck after hitting "save" and the page is not saved...

My confs :

  • MediaWiki 1.20.6
  • PHP 5.4.6 (cgi-fcgi)
  • MySQL 5.5.14
  • Semantic Forms (version 2.5.2)
  • Semantic Maps (version 2.0.1.2)
  • Semantic MediaWiki (version 1.8.0.4)

Thanks

Nicolas NALLET (Sémantiki)

13:23, 27 May 2013

I personally have not found a working combination of SF, SM and SMW either. :( One of the upgrades broke input type maps completely. On my wiki it is not even possible to save if coordinates were provided. So far I did not have the time to dig into this further, so if others have more insight ...

16:22, 27 May 2013